pubspec.yaml 2.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980
  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. # 图片预览(单图与多图) https://github.com/xia-weiyang/image_preview
  43. image_preview: ^1.2.4
  44. # SD卡管理,缓存管理
  45. path_provider: 2.1.4
  46. synchronized: ^3.1.0+1
  47. # Hive本地存储
  48. hive: ^2.2.3
  49. hive_flutter: ^1.1.0
  50. # Flutter 常用工具类库 https://github.com/Sky24n/flustars
  51. # SP-KV存储,一般存储基本数据类型,由各平台各自实现
  52. shared_preferences: 2.3.1
  53. # 5.5.0 报错,这里强制指定版本适配 Flutter 版本 3.24.0
  54. win32: 5.5.4
  55. flutter:
  56. uses-material-design: true