https://github.com/mohanedzekry/flutter-clean-architecture_moduler
A flutter clean architecture example. Using injectable, get_it, drift, BLoC and go_router
https://github.com/mohanedzekry/flutter-clean-architecture_moduler
bloc clean-architecture clean-code cubit dart dependency-injection flutter gorouter injectable modules servicelocator
Last synced: about 2 months ago
JSON representation
A flutter clean architecture example. Using injectable, get_it, drift, BLoC and go_router
- Host: GitHub
- URL: https://github.com/mohanedzekry/flutter-clean-architecture_moduler
- Owner: MohanedZekry
- Created: 2022-12-17T14:39:04.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2022-12-18T12:57:24.000Z (over 2 years ago)
- Last Synced: 2025-04-11T16:23:55.258Z (about 2 months ago)
- Topics: bloc, clean-architecture, clean-code, cubit, dart, dependency-injection, flutter, gorouter, injectable, modules, servicelocator
- Language: Dart
- Homepage:
- Size: 97.7 KB
- Stars: 9
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Emailed Article App
A flutter clean architecture example. Using injectable, get_it, drift, BLoC and go_router,...## Intro ##
Architecture means the overall design of the project. It’s the organization of the code into classes or files or components or modules. And it’s how all these groups of code relate to each other. The architecture defines where the application performs its core functionality and how that functionality interacts with things like the database and the user interface.Clean architecture refers to organizing the project so that it’s easy to understand and easy to change as the project grows. This doesn’t happen by chance. It takes intentional planning.
## Modules ##
| Modules | Progress |
| :---------- | :-------: |
| Data | ☑️ |
| Domain | ✅ |
| Presentation | |## Description
There are 3 modules in this app.
| Presentation Module | Domain Module | Data Module |
| ------------------------ | ---------------------- | ----------------------------------- |
| ui/view | entities | data source, dto |
| controller | use cases | repository implementation |
| probably your extension | repository | remote/local config (dio/sqflite) |## Packages
- [BLoC](https://pub.dev/packages/flutter_bloc)
- [injectable](https://pub.dev/packages/injectable)
- [get_it](https://pub.dev/packages/get_it)
- [drift](https://pub.dev/packages/drift)
- [sqlite3](https://pub.dev/packages/sqlite3_flutter_libs)
- [path](https://pub.dev/packages/path)
- [go_router](https://pub.dev/packages/go_router)
- [equtable](https://pub.dev/packages/equatable)
- [dartz](https://pub.dev/packages/dartz)
- [lottie](https://pub.dev/packages/lottie)## Communication between layers
SOONThe contribution guidelines will be Available Soon
### Instructions- Fork this repository
- Clone your forked repository
- Add your code
- Commit and push
- Create a pull request
- Star this repository
- Wait for pull request to merge