flutter_ddd_riverpod_example
這是一個範例專案,用於介紹如何使用 riverpod 和 supabase 作為後端服務,在 flutter 中實現乾淨架構的文章。
- 星標
- 241
- 分支
- 54
- 最近推送(UTC)
- 2024年6月24日
- 專案狀態
- 未封存
原始 README
以下為英文專案原文快照,最新內容請造訪 GitHub。
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
語言DartC++CMakeRubyHTMLSwiftCKotlinObjective-C
使用的依賴
依賴清單 23 項
- 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_test開發依賴
{"sdk":"flutter"} - flutter_flavorizr開發依賴
^2.1.3 - freezed開發依賴
^2.1.0+1 - very_good_analysis開發依賴
^5.1.0 - build_runner開發依賴
^2.2.0 - riverpod_generator開發依賴
^2.3.5 - json_serializable開發依賴
^6.3.1 - riverpod_lint開發依賴
^2.3.2 - custom_lint開發依賴
^0.5.4
所在榜單
如何選擇適合專案的儲存庫?
先依使用情境篩選,再比較專案活躍情況,最後到原始儲存庫確認使用要求。
- 透過儲存庫名稱、作者或描述搜尋,再依技術分類縮小範圍。
- 綜合星標、分支與最近推送比較專案;星標反映社群關注,不保證品質。
- 使用前在 GitHub 確認 README、授權條款與 Issues。
來源與維護
“A repository is the most basic element of GitHub.”
GitHub Docs — About repositories ↗