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 ↗