pubspec.yaml 968 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  1. name: domain
  2. description: 项目的实体,数据仓库等
  3. version: 1.0.0
  4. environment:
  5. sdk: '>=3.0.2 <4.0.0'
  6. dependencies:
  7. flutter_localizations:
  8. sdk: flutter
  9. flutter:
  10. sdk: flutter
  11. # json 序列化和反序列化
  12. json_annotation: ^4.8.0
  13. shared:
  14. path: ../cs_shared
  15. plugin_platform:
  16. path: ../cs_plugin_platform
  17. plugin_basic:
  18. path: ../cs_plugin_basic
  19. # Riverpod核心库
  20. flutter_riverpod: ^2.5.1
  21. # Riverpod注解
  22. riverpod_annotation: ^2.3.5
  23. # Hooks 简化 Flutter 页面
  24. flutter_hooks: ^0.20.5
  25. # Hooks 简化 Riverpod 获取
  26. hooks_riverpod: ^2.5.1
  27. dev_dependencies:
  28. flutter_test:
  29. sdk: flutter
  30. flutter_lints: ^4.0.0
  31. # Dart代码生成文件
  32. build_runner: ^2.4.12
  33. # Riverpod代码生成器
  34. riverpod_generator: ^2.4.3
  35. # 专为Riverpod设计的一套lint规则
  36. riverpod_lint: ^2.3.13
  37. # AutoRouter 生成代码
  38. auto_route_generator: ^8.0.0
  39. flutter:
  40. uses-material-design: true