pubspec.yaml 5.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230
  1. name: electronic_assistant
  2. description: "A new Flutter project."
  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.0.7+107
  19. environment:
  20. sdk: '>=3.4.3 <4.0.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. flutter_localizations:
  31. sdk: flutter
  32. # 状态管理
  33. get: ^4.6.6
  34. # 网络请求
  35. dio: ^5.6.0
  36. retrofit: '>=4.0.0 <5.0.0'
  37. pretty_dio_logger: ^1.4.0
  38. json_annotation: ^4.8.1
  39. # 包信息
  40. package_info_plus: ^8.0.2
  41. # 屏幕适配
  42. flutter_screenutil: ^5.9.3
  43. # dialog
  44. flutter_smart_dialog: ^4.9.8
  45. #tencent mmkv
  46. mmkv: ^1.3.9
  47. #上、下拉刷新
  48. pull_to_refresh: ^2.0.0
  49. #lottie
  50. lottie: ^3.1.2
  51. #解压
  52. archive: ^3.6.1
  53. #录音
  54. flutter_sound: ^9.16.3
  55. #权限申请
  56. permission_handler: ^11.3.1
  57. #uuid
  58. uuid: ^4.5.0
  59. #网络连接类型
  60. connectivity_plus: ^6.0.5
  61. #音频播放
  62. just_audio: ^0.9.40
  63. #markdown
  64. markdown: ^7.2.2
  65. #html
  66. flutter_widget_from_html: ^0.15.2
  67. #前台任务
  68. flutter_foreground_task: ^8.8.1+1
  69. #获取设备信息
  70. device_info_plus: ^10.1.2
  71. android_id: ^0.4.0
  72. # 隐私追踪
  73. app_tracking_transparency: ^2.0.5
  74. #文件选择
  75. file_picker: ^8.1.2
  76. #引力引擎插件
  77. gravity_engine:
  78. path: plugin/gravity_engine
  79. #渠道包信息读取插件
  80. atmob_channel_reader:
  81. path: plugin/atmob_channel_reader
  82. #支付
  83. alipay_kit: ^6.0.0
  84. wechat_kit: ^6.0.1
  85. in_app_purchase: ^3.2.0
  86. #并发
  87. synchronized: ^3.3.0+2
  88. #屏幕常亮
  89. wakelock_plus: ^1.2.8
  90. #获取音频资源列表
  91. photo_manager: ^3.4.0
  92. #快捷启动
  93. app_links: ^6.3.2
  94. #跳转浏览器
  95. url_launcher: ^6.3.1
  96. #系统分享
  97. share_plus: ^10.0.3
  98. #快捷方式
  99. shortcut:
  100. path: plugin/shortcut
  101. #系统分享
  102. system_share:
  103. path: plugin/system_share
  104. #友盟
  105. flutter_umeng:
  106. path: plugin/flutter_umeng
  107. #自定义通知
  108. custom_notification:
  109. path: plugin/custom_notification
  110. #notification
  111. flutter_local_notifications: ^17.2.3
  112. #web通信
  113. dsbridge_flutter: ^1.1.0
  114. dev_dependencies:
  115. flutter_test:
  116. sdk: flutter
  117. # The "flutter_lints" package below contains a set of recommended lints to
  118. # encourage good coding practices. The lint set provided by the package is
  119. # activated in the `analysis_options.yaml` file located at the root of your
  120. # package. See that file for information about deactivating specific lint
  121. # rules and activating additional ones.
  122. flutter_lints: ^3.0.0
  123. retrofit_generator: '>=7.0.0 <8.0.0'
  124. build_runner: '>=2.3.0 <4.0.0'
  125. json_serializable: ^6.6.2
  126. flutter_gen_runner:
  127. flutter_launcher_icons: "^0.13.1" #启动图标配置
  128. #----------启动图标配置---------------
  129. flutter_launcher_icons:
  130. image_path_android: "assets/images/logo/logo.png"
  131. image_path_ios: "assets/images/logo/logo_ios.png"
  132. android: true
  133. ios: true
  134. min_sdk_android: 21
  135. remove_alpha_ios: true
  136. #----------gen配置---------------
  137. flutter_gen:
  138. output: lib/resource/
  139. colors:
  140. inputs:
  141. - assets/color/common_color.xml
  142. - assets/color/color.xml
  143. # The following section is specific to Flutter packages.
  144. flutter:
  145. # The following line ensures that the Material Icons font is
  146. # included with your application, so that you can use the icons in
  147. # the material Icons class.
  148. uses-material-design: true
  149. assets:
  150. - assets/images/
  151. - assets/anim/
  152. - assets/html/
  153. # An image asset can refer to one or more resolution-specific "variants", see
  154. # https://flutter.dev/assets-and-images/#resolution-aware
  155. # For details regarding adding assets from package dependencies, see
  156. # https://flutter.dev/assets-and-images/#from-packages
  157. # To add custom fonts to your application, add a fonts section here,
  158. # in this "flutter" section. Each entry in this list should have a
  159. # "family" key with the font family name, and a "fonts" key with a
  160. # list giving the asset and other descriptors for the font. For
  161. # example:
  162. # fonts:
  163. # - family: Schyler
  164. # fonts:
  165. # - asset: fonts/Schyler-Regular.ttf
  166. # - asset: fonts/Schyler-Italic.ttf
  167. # style: italic
  168. # - family: Trajan Pro
  169. # fonts:
  170. # - asset: fonts/TrajanPro.ttf
  171. # - asset: fonts/TrajanPro_Bold.ttf
  172. # weight: 700
  173. #
  174. # For details regarding fonts from package dependencies,
  175. # see https://flutter.dev/custom-fonts/#from-packages
  176. wechat_kit:
  177. ios: no_pay # 默认 pay
  178. app_id: wxff40112d61011372
  179. universal_link: https://flutter.dev