otakoyi/flutter_ddd_riverpod_example
这是一个示例项目,用于介绍如何使用 riverpod 和 supabase 作为后端服务在 flutter 中实现干净架构的文章。
- Stars
- 241
- Forks
- 54
- 最近推送(UTC)
- 2024年6月24日
- 项目状态
- 未归档
语言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
所在榜单
原始 README
以下为英文项目原文快照,最新内容请访问 GitHub。
展开 / 收起项目 README
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