Skip to content

Latest commit

 

History

History
62 lines (48 loc) · 2.62 KB

File metadata and controls

62 lines (48 loc) · 2.62 KB

Flutter Development Guidelines

This document is the entry point for the Flutter coding guidelines used across our projects. These rules exist to ensure consistency, maintainability, and scalability in every codebase.

Philosophy

These guidelines are grounded in:

  • Domain-Driven Design (DDD) — model software around real business concepts.
  • Clean Architecture — separate concerns into layers with strict dependency rules.
  • Explicit over implicit — code should be readable without needing to trace through layers of abstraction.

Architecture at a Glance

We follow a four-layer architecture:

Layer Responsibility
domain Core business rules, entities, errors, repository contracts
application Orchestration of domain logic (use cases)
infrastructure External world: APIs, databases, local storage
presentation UI, state management (Bloc), routing

See Architecture for the full explanation and dependency rules.

Table of Contents

Cross-Cutting Concerns

Domain Layer

Application Layer

Infrastructure Layer

Presentation Layer