pubspec.yaml 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071
  1. name: cpt_auth
  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. #基础组件的依赖
  12. domain:
  13. path: ../cs_domain
  14. plugin_basic:
  15. path: ../cs_plugin_basic
  16. plugin_platform:
  17. path: ../cs_plugin_platform
  18. shared:
  19. path: ../cs_shared
  20. cs_resources:
  21. path: ../cs_resources
  22. router:
  23. path: ../cs_router
  24. widgets:
  25. path: ../cs_widgets
  26. # Riverpod核心库
  27. flutter_riverpod: ^2.5.1
  28. # Riverpod注解
  29. riverpod_annotation: ^2.3.5
  30. # Hooks 简化 Flutter 页面
  31. flutter_hooks: ^0.20.5
  32. # Hooks 简化 Riverpod 获取
  33. hooks_riverpod: ^2.5.1
  34. dev_dependencies:
  35. flutter_test:
  36. sdk: flutter
  37. flutter_lints: ^4.0.0
  38. # Dart代码生成文件
  39. build_runner: ^2.4.12
  40. # Riverpod代码生成器
  41. riverpod_generator: ^2.4.3
  42. # 专为Riverpod设计的一套lint规则
  43. riverpod_lint: ^2.3.13
  44. # AutoRouter 生成代码
  45. auto_route_generator: ^8.0.0
  46. flutter:
  47. uses-material-design: true