Clean Architecture for Flutter

A sample app that implement Uncle Bob's Clean Architecture in Flutter

This a sample app that implement Uncle Bob’s Clean Architecture in Flutter.

There are 3 main Layers to help separate the code:

1- Domain.
2- Data.
3- Presentation.
A sample app that implement Uncle Bob's Clean Architecture in Flutter

Domain Layer:
defines the business logic of the application and contains UseCases, Domain Entities, and Repository Interfaces.

Data Layer:
responsible for data retrieval and contains APIs, Local Storage, Data objects (Request, Response and DB objects), and the Repository Implementation.

Presentation
the UI of the application and contains Screens, Widgets and Presentation logic.

Libraries

References

Support

If you liked the repo giving it a Star ⭐️.

Before you build this App from source code, please get an ApiKey from newsapi.org
and add your ApiKey in constants.dart file.

GitHub

https://github.com/MahmoudElbokl/flutter_clean_arch_sample_demo

Entradas similares

Deja una respuesta