enesakbal/Flutter-Clean-Architecture-Example
Flutter Clean Architecture Example
- Stars
- 114
- Forks
- 20
- Last push (UTC)
- Feb 2, 2025
- Project status
- Active
Technical topics
Dependencies used
Dependency list 32 items
- auto_route
^8.1.4 - cached_network_image
^3.4.1 - dio
^5.8.0+1 - equatable
^2.0.7 - flex_color_scheme
^8.1.0 - flutter
{"sdk":"flutter"} - flutter_bloc
^9.0.0 - flutter_dotenv
^5.2.1 - flutter_gen
^5.8.0 - flutter_hooks
^0.20.5 - flutter_screenutil
^5.9.3 - flutter_svg
^2.0.17 - fpdart
^1.1.1 - get_it
^8.0.3 - hydrated_bloc
^10.0.0 - intl
^0.20.2 - isar
^3.1.0+1 - isar_flutter_libs
^3.1.0+1 - json_annotation
^4.9.0 - path_provider
^2.1.5 - pretty_dio_logger
^1.4.0 - shimmer
^3.0.0 - url_launcher
^6.3.1 - auto_route_generatorDevelopment
^8.0.0 - bloc_testDevelopment
^10.0.0 - build_runnerDevelopment
^2.4.13 - flutter_gen_runnerDevelopment
^5.8.0 - flutter_lintsDevelopment
^5.0.0 - flutter_testDevelopment
{"sdk":"flutter"} - isar_generatorDevelopment
^3.1.0+1 - json_serializableDevelopment
^6.8.0 - mockitoDevelopment
^5.4.4
Rankings
Original README
English project snapshot. Visit GitHub for the latest content.
Expand / collapse project README
Flutter Clean Architecture Example
About This Project
This repository is the companion code for my 5-part Medium article series titled "Flutter Clean Architecture." The series offers an extensive guide on applying clean architecture principles in Flutter projects. Each part focuses on a different layer of architecture, backed by practical examples from this repository.
Feel free to fork this repository and submit a pull request if you have suggestions or improvements.
Article Series Overview
Part 1: Introduction
- Introduction to the project and the fundamental concepts
- Why should we Use Clean Architecture in Flutter?
- Advantages of The Clean Architecture
- Read Part 1 on Medium
Part 2: The Domain Layer
- Insights into the core logic and business rules
- Usecases
- Read Part 2 on Medium
Part 3: The Data Layer
- Handling data and repository patterns
- Datasources
- Isar
- Read Part 3 on Medium
Part 4: The Presentation Layer
- Designing the UI and managing state
- BLoC Pattern
- Read Part 4 on Medium
Part 5: Testing Each Layer
- Implementing tests for robust and reliable code
- Unit Testing
- Read Part 5 on Medium
UI Design
-
https://github.com/enesakbal/Flutter-Clean-Architecture-Example/assets/60822023/3131a7c8-c3de-4ca8-8057-0f1c1b928e99 https://github.com/enesakbal/Flutter-Clean-Architecture-Example/assets/60822023/f2efec53-ed72-407a-83a0-983c8eb07170 https://github.com/enesakbal/Flutter-Clean-Architecture-Example/assets/60822023/9ebcda89-d96c-4ba0-a0d4-18d1bf6e2c03 https://github.com/enesakbal/Flutter-Clean-Architecture-Example/assets/60822023/da32073a-f0d1-4828-aeda-8ceb3e298956 https://github.com/enesakbal/Flutter-Clean-Architecture-Example/assets/60822023/86eff697-1f45-43d4-9ec9-9cbc3bdfdafd
https://github.com/enesakbal/Flutter-Clean-Architecture-Example/assets/60822023/bbe8f4e6-e460-47fc-9893-fa36881df65e
Set Up
- Clone Project
git clone https://github.com/enesakbal/Flutter-Clean-Architecture-Example.git
-
Sign up TMDB and don't forget to replace the
API_TOKENvalue in the .env file with your own. -
flutter run
Contact Me
enesakbal00@gmail.com
created by ea.