Flutter-Clean-Architecture-Example
Flutter-Clean-Architecture-Example copied to clipboard
Flutter Clean Architecture Example
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/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
created by ea.