pubspec.yaml 6.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229
  1. name: clean
  2. description: "Clean photo"
  3. # The following line prevents the package from being accidentally published to
  4. # pub.dev using `flutter pub publish`. This is preferred for private packages.
  5. publish_to: 'none' # Remove this line if you wish to publish to pub.dev
  6. # The following defines the version and build number for your application.
  7. # A version number is three numbers separated by dots, like 1.2.43
  8. # followed by an optional build number separated by a +.
  9. # Both the version and the builder number may be overridden in flutter
  10. # build by specifying --build-name and --build-number, respectively.
  11. # In Android, build-name is used as versionName while build-number used as versionCode.
  12. # Read more about Android versioning at https://developer.android.com/studio/publish/versioning
  13. # In iOS, build-name is used as CFBundleShortVersionString while build-number is used as CFBundleVersion.
  14. # Read more about iOS versioning at
  15. # https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html
  16. # In Windows, build-name is used as the major, minor, and patch parts
  17. # of the product and file versions while build-number is used as the build suffix.
  18. version: 1.4.0+39
  19. environment:
  20. sdk: ^3.6.0
  21. # Dependencies specify other packages that your package needs in order to work.
  22. # To automatically upgrade your package dependencies to the latest versions
  23. # consider running `flutter pub upgrade --major-versions`. Alternatively,
  24. # dependencies can be manually updated by changing the version numbers below to
  25. # the latest version available on pub.dev. To see which dependencies have newer
  26. # versions available, run `flutter pub outdated`.
  27. dependencies:
  28. flutter:
  29. sdk: flutter
  30. # 状态管理
  31. get: ^4.6.6
  32. # 网络请求
  33. dio: ^5.6.0
  34. retrofit: '>=4.0.0 <5.0.0'
  35. pretty_dio_logger: ^1.4.0
  36. json_annotation: ^4.8.1
  37. #获取设备信息
  38. device_info_plus: ^10.1.2
  39. android_id: ^0.4.0
  40. # 包信息
  41. package_info_plus: ^8.1.1
  42. #网络图片
  43. cached_network_image: ^3.4.1
  44. # 文件缓存
  45. flutter_cache_manager: ^3.4.1
  46. # 隐私追踪
  47. app_tracking_transparency: ^2.0.5
  48. # 屏幕适配
  49. flutter_screenutil: ^5.9.3
  50. #本地化
  51. flutter_localizations:
  52. sdk: flutter
  53. # 图片保存
  54. image_gallery_saver_plus: ^4.0.1
  55. # 卡片滑动
  56. flutter_card_swiper: ^7.0.2
  57. #权限申请
  58. permission_handler: ^11.3.1
  59. # url_launcher: ^6.3.1
  60. chewie: ^1.10.0
  61. video_player: ^2.9.2
  62. #支付
  63. in_app_purchase: ^3.2.0
  64. # 弹窗
  65. flutter_smart_dialog: ^4.9.8
  66. #并发
  67. synchronized: ^3.3.0+2
  68. #上、下拉刷新
  69. pull_to_refresh: ^2.0.0
  70. #整合的图片选择器
  71. wechat_assets_picker: ^9.4.1
  72. #拍照
  73. wechat_camera_picker: ^4.3.6
  74. #tabbar
  75. convex_bottom_bar: ^3.2.0
  76. #获取图片数据
  77. exif: ^3.3.0
  78. intl: ^0.19.0
  79. # The following adds the Cupertino Icons font to your application.
  80. # Use with the CupertinoIcons class for iOS style icons.
  81. cupertino_icons: ^1.0.8
  82. # 跨平台路径操作库。
  83. path: ^1.9.0
  84. # 路径提供程序
  85. path_provider: ^2.1.5
  86. #tencent mmkv
  87. mmkv: ^2.2.1
  88. # # 存储空间
  89. # disk_space_plus: ^0.2.5
  90. #网页跳转
  91. webview_flutter: ^4.10.0
  92. # 获取联系人
  93. flutter_contacts: ^1.1.9
  94. # 实现点击跳转列表
  95. scrollable_positioned_list: ^0.3.8
  96. #友盟
  97. umeng_common_sdk: ^1.2.8
  98. airbridge_flutter_sdk: ^4.2.1
  99. #渠道包信息
  100. atmob_channel_reader:
  101. version: ^0.0.2
  102. hosted:
  103. name: atmob_channel_reader
  104. url: http://pub.v8dashen.com/
  105. # 照片
  106. classify_photo:
  107. path: plugins/classify_photo
  108. # 苹果内购
  109. apple_pay:
  110. path: plugins/apple_pay
  111. # 动画
  112. lottie: ^3.3.1
  113. photo_classifier:
  114. git:
  115. url: http://git.atmob.com/Groot/clean_pro_photo_classifier_plugin
  116. ref: release/1.0.1
  117. dev_dependencies:
  118. flutter_test:
  119. sdk: flutter
  120. retrofit_generator: '>=8.0.0 <10.0.0' # for Dart 3.3 use ^9.0.0
  121. build_runner: ^2.4.13
  122. json_serializable: ^6.9.0
  123. flutter_gen_runner:
  124. # The "flutter_lints" package below contains a set of recommended lints to
  125. # encourage good coding practices. The lint set provided by the package is
  126. # activated in the `analysis_options.yaml` file located at the root of your
  127. # package. See that file for information about deactivating specific lint
  128. # rules and activating additional ones.
  129. flutter_lints: ^5.0.0
  130. #----------gen配置---------------
  131. flutter_gen:
  132. output: lib/resource/
  133. colors:
  134. inputs:
  135. - assets/color/common_color.xml
  136. - assets/color/color.xml
  137. # For information on the generic Dart part of this file, see the
  138. # following page: https://dart.dev/tools/pub/pubspec
  139. # The following section is specific to Flutter packages.
  140. flutter:
  141. # The following line ensures that the Material Icons font is
  142. # included with your application, so that you can use the icons in
  143. # the material Icons class.
  144. uses-material-design: true
  145. assets:
  146. - assets/images/
  147. - assets/anim/
  148. # To add assets to your application, add an assets section, like this:
  149. # assets:
  150. # - images/a_dot_burr.jpeg
  151. # - images/a_dot_ham.jpeg
  152. # An image asset can refer to one or more resolution-specific "variants", see
  153. # https://flutter.dev/to/resolution-aware-images
  154. # For details regarding adding assets from package dependencies, see
  155. # https://flutter.dev/to/asset-from-package
  156. # To add custom fonts to your application, add a fonts section here,
  157. # in this "flutter" section. Each entry in this list should have a
  158. # "family" key with the font family name, and a "fonts" key with a
  159. # list giving the asset and other descriptors for the font. For
  160. # example:
  161. # fonts:
  162. # - family: Schyler
  163. # fonts:
  164. # - asset: fonts/Schyler-Regular.ttf
  165. # - asset: fonts/Schyler-Italic.ttf
  166. # style: italic
  167. # - family: Trajan Pro
  168. # fonts:
  169. # - asset: fonts/TrajanPro.ttf
  170. # - asset: fonts/TrajanPro_Bold.ttf
  171. # weight: 700
  172. #
  173. # For details regarding fonts from package dependencies,
  174. # see https://flutter.dev/to/font-from-package