A clean, scalable, and maintainable Flutter project template using Clean Architecture.
Starring ⭐ this repository if you find it useful!
Contact for work, email: chunhthanhde.dev@gmail.com
Flutter Clean Architecture Template provides a solid base structure for your Flutter projects. It follows Clean Architecture principles, promoting separation of concerns and maintainability.
Note: This template is designed for educational purposes and serves as a base for starting new Flutter projects.
Library | Purpose |
---|---|
flutter_bloc | A library for implementing the BLoC (Business Logic Component) pattern in Flutter apps, helping manage app state efficiently. |
hydrated_bloc | An extension of flutter_bloc that allows persisting the BLoC state across app restarts, retaining data even after the app is closed. |
path_provider | A Flutter plugin used to find the correct paths for storing files on the device, helping identify directories for documents, temporary storage, and external storage. |
get_it | A service locator for Dart and Flutter, making dependency injection easy and simplifying object management across different parts of an app. |
dartz | A functional programming library for Dart that provides features like Option, Either, and Tuple to improve handling of nullable values and side effects in code. |
- Clone the repository:
git clone https://github.com/Flutter-Journey/Flutter-Clean-Template.git
- Navigate to the project directory:
cd Flutter-Clean-Template
- Install dependencies:
flutter pub get
- Run the app:
flutter run
Get Start Screen | Choose Mode (Light) Screen | Choose Mode (Dark) Screen |
---|---|---|
Sign In Screen | Sign Up Screen | Profile Screen |
---|---|---|