flutter.md

Flutter Technology Stack

IMPORTANT NOTE: This document is not final; it is under review.

This document outlines the specific standards and conventions for developing mobile applications with Flutter.

Core Stack

State Management

Navigation

API Communication

Testing

Naming Conventions

Directory Structure

A feature-first directory structure is the standard.

lib ├── src │ ├── features/ # Main feature folders │ │ └── auth/ │ │ ├── data/ # Data sources (API clients, local storage) │ │ ├── domain/ # Business logic (entities, repositories, use cases) │ │ └── presentation/ # UI layer (providers, widgets, screens) │ ├── common_widgets/ # Shared widgets used across features │ ├── routing/ # GoRouter configuration │ ├── services/ # Global services (e.g., analytics) │ └── utils/ # Utility functions ├── main.dart