pubspec.yaml 2.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283
  1. name: plugin_platform
  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. widgets:
  15. path: ../cs_widgets
  16. cs_resources:
  17. path: ../cs_resources
  18. # Riverpod核心库
  19. flutter_riverpod: ^2.5.1
  20. # Riverpod注解
  21. riverpod_annotation: ^2.3.5
  22. # https://pub.dev/packages/dio 网络请求框架
  23. dio: 5.3.3
  24. #处理权限
  25. permission_handler: 11.3.1
  26. # 图片选择 https://github.com/fluttercandies/flutter_wechat_assets_picker/blob/main/README-ZH.md
  27. wechat_assets_picker: ^9.2.2
  28. # 图片加载框架 https://github.com/fluttercandies/extended_image/blob/master/README-ZH.md
  29. # 封装在 MyLoadImage 控件中,推荐图片全部用 MyLoadImage
  30. # wechatAssetsPicker 内部已经依赖了 extended_image 框架!无需再次依赖
  31. # 相机选择器 https://github.com/fluttercandies/flutter_wechat_camera_picker/blob/main/README-ZH.md
  32. # 与上面图片选择配套的相机模块,基于 wechat_assets_picker 与 camera 依赖实现的
  33. wechat_camera_picker: ^4.3.4
  34. # 图片裁剪 https://github.com/hnvn/flutter_image_cropper
  35. # 与上面图片选择或相机拍照结合使用,裁剪图片为1:1或4:3或16:9的比例
  36. image_cropper: 5.0.1
  37. # 图片压缩 https://github.com/fluttercandies/flutter_image_compress
  38. # https://pub.dev/packages/flutter_image_compress
  39. # 用于最终的图片压缩,在网络请求上传文件的基类 ApiProvider 中统一处理图片的压缩逻辑,业务层不需要处理
  40. flutter_image_compress: 2.3.0
  41. # 弹窗控件 https://github.com/CNAD666/flutter_smart_dialog
  42. # 内部包含吐司气泡 弹窗 下拉选等
  43. flutter_smart_dialog: ^4.9.6
  44. # 图片预览(单图与多图) https://github.com/xia-weiyang/image_preview
  45. image_preview: ^1.2.4
  46. # SD卡管理,缓存管理
  47. path_provider: 2.1.4
  48. synchronized: ^3.1.0+1
  49. # Hive本地存储
  50. hive: ^2.2.3
  51. hive_flutter: ^1.1.0
  52. # Flutter 常用工具类库 https://github.com/Sky24n/flustars
  53. # SP-KV存储,一般存储基本数据类型,由各平台各自实现
  54. shared_preferences: 2.3.1
  55. # 5.5.0 报错,这里强制指定版本适配 Flutter 版本 3.24.0
  56. win32: 5.5.4
  57. flutter:
  58. uses-material-design: true