flutter_ddd_riverpod_example
This is an example project for the article about implementing clean architecture in flutter with riverpod and supabase as backend service.
- Stars
- 241
- Forks
- 54
- Last push (UTC)
- Jun 24, 2024
- Project status
- Active
Original README
English project snapshot. Visit GitHub for the latest content.
The Example
This is an example how to implement clean architecture with domain driven design and riverpod in flutter projects.
Getting Started
- Rename local.config.json.example into local.config.json
- Setup local supabase or remote supabase backend.
- Flutter flavours included. Update your run configuration with --flavor development --target lib/main_development.dart
Tested this example on the web and mobile.
The detailed article with explanations can be found here https://otakoyi.software/blog/flutter-clean-architecture-with-riverpod-and-supabase
LanguagesDartC++CMakeRubyHTMLSwiftCKotlinObjective-C
Dependencies used
Dependency list 23 items
- dotted_border
^2.1.0 - flutter
{"sdk":"flutter"} - flutter_localizations
{"sdk":"flutter"} - flutter_riverpod
^2.0.0-dev.9 - fpdart
^1.1.0 - freezed_annotation
^2.4.1 - go_router
^13.1.0 - intl
^0.18.1 - json_annotation
^4.8.1 - riverpod_annotation
^2.2.1 - shared_preferences
^2.0.15 - supabase_flutter
^2.3.2 - uni_links
^0.5.1 - validators
^3.0.0 - flutter_testDevelopment
{"sdk":"flutter"} - flutter_flavorizrDevelopment
^2.1.3 - freezedDevelopment
^2.1.0+1 - very_good_analysisDevelopment
^5.1.0 - build_runnerDevelopment
^2.2.0 - riverpod_generatorDevelopment
^2.3.5 - json_serializableDevelopment
^6.3.1 - riverpod_lintDevelopment
^2.3.2 - custom_lintDevelopment
^0.5.4
Rankings
How do I choose a repository?
Start with your use case, compare repository activity, and check the original project before adopting it.
- Search by repository name, owner or description, then narrow the results by topic.
- Compare stars, forks and recent pushes. Stars show community interest, not a guarantee of quality.
- Read the README, license and issues on GitHub before using a project.
Sources and maintenance
“A repository is the most basic element of GitHub.”
GitHub Docs — About repositories ↗