pubspec.yaml 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586
  1. name: plugin_basic
  2. description: 基础包,原生的封装控件,扩展控件,自定义控件等。
  3. version: 1.0.0
  4. environment:
  5. sdk: ">=3.3.0 <4.0.0"
  6. flutter: ">=3.0.0"
  7. dependencies:
  8. flutter_localizations:
  9. sdk: flutter
  10. flutter:
  11. sdk: flutter
  12. cupertino_icons: ^1.0.2
  13. shared:
  14. path: ../cs_shared
  15. router:
  16. path: ../cs_router
  17. widgets:
  18. path: ../cs_widgets
  19. cs_resources:
  20. path: ../cs_resources
  21. domain:
  22. path: ../cs_domain
  23. plugin_platform:
  24. path: ../cs_plugin_platform
  25. # Riverpod核心库
  26. flutter_riverpod: ^2.5.1
  27. # Riverpod注解
  28. riverpod_annotation: ^2.3.5
  29. # Hooks 简化 Flutter 页面
  30. flutter_hooks: ^0.20.5
  31. # Hooks 简化 Riverpod 获取
  32. hooks_riverpod: ^2.5.1
  33. # package_info 应用相关信息
  34. package_info_plus: 8.0.2
  35. # 获取当前设备信息 https://github.com/fluttercommunity/plus_plugins/tree/main/packages/device_info_plus
  36. device_info_plus: 10.0.1
  37. # 跳转应用处理 https://github.com/flutter/plugins/tree/master_archive/packages/url_launcher/url_launcher
  38. # 例如:拨打电话,发送短信,发送邮件,跳转Whatsapp,打开本地文件等操作
  39. url_launcher: 6.3.0
  40. # 分享 https://plus.fluttercommunity.dev/docs/share_plus/usage
  41. share_plus: 7.1.0
  42. # 显示隐藏监听,声明周期监听
  43. visibility_detector: ^0.4.0+2
  44. dev_dependencies:
  45. flutter_test:
  46. sdk: flutter
  47. flutter_lints: ^4.0.0
  48. # Dart代码生成文件
  49. build_runner: ^2.4.12
  50. # Riverpod代码生成器
  51. riverpod_generator: ^2.4.3
  52. # 专为Riverpod设计的一套lint规则
  53. riverpod_lint: ^2.3.13
  54. # AutoRouter 生成代码
  55. auto_route_generator: ^8.0.0
  56. flutter:
  57. uses-material-design: true