A Flutter project to show clean architecture in use with bloc.
This project is using build_runner to generate the boilerplate code, so we can keep focusing on the real code
A few resources to get you started for this project:
- State Management: Cubit provided by bloc
- Dependency injection: GetIt
- Dependency injection generator: Injectable
- Routing and route generate: auto_route
Contains all the use cases, Entities and the definitions of our repository for the project we have a single use that will represent one task that should be done we also have usecase which group all the usecases that is related to one feature
Contains the data sources either remote or locale for now there is only remote data source that will fetch the content from the API.
we also have the repository implementation within this layer that will be responsible of declaring the implementation from the domain layer and for sure will be responsible of fetching the data and handling the data from local/remote sources
Contains all the views, widgets and their components
Will have all the abstract classes/generics/routing and dependency injection
To run the project you need first to open the terminal and type: flutter packages pub run build_runner build --delete-conflicting-outputs