pubspec.yaml 1.7 KB

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