pubspec.yaml 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677
  1. name: cpt_property
  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. # freezed 注解
  35. freezed_annotation: ^2.2.0
  36. dev_dependencies:
  37. flutter_test:
  38. sdk: flutter
  39. flutter_lints: ^4.0.0
  40. # Dart代码生成文件
  41. build_runner: ^2.4.12
  42. # Riverpod代码生成器
  43. riverpod_generator: ^2.4.3
  44. # 专为Riverpod设计的一套lint规则
  45. riverpod_lint: ^2.3.13
  46. # AutoRouter 生成代码
  47. auto_route_generator: ^8.0.0
  48. # json序列化
  49. freezed: ^2.2.0
  50. flutter:
  51. uses-material-design: true