pubspec.yaml 2.2 KB

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