pubspec.yaml 9.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334
  1. name: iquokka
  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 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. version: 1.17.0+186
  17. environment:
  18. sdk: ">=3.1.5 <4.0.0"
  19. # sdk: ">=2.17.0 <3.0.0"
  20. # Dependencies specify other packages that your package needs in order to work.
  21. # To automatically upgrade your package dependencies to the latest versions
  22. # consider running `flutter pub upgrade --major-versions`. Alternatively,
  23. # dependencies can be manually updated by changing the version numbers below to
  24. # the latest version available on pub.dev. To see which dependencies have newer
  25. # versions available, run `flutter pub outdated`.
  26. dependencies:
  27. flutter:
  28. sdk: flutter
  29. flutter_localizations:
  30. sdk: flutter
  31. # The following adds the Cupertino Icons font to your application.
  32. # Use with the CupertinoIcons class for iOS style icons.
  33. #cupertino_icons: ^1.0.2
  34. #屏幕适配
  35. flutter_screenutil: ^5.9.0
  36. fluro: ^2.0.3
  37. # fluttertoast: ^8.0.9
  38. fluttertoast:
  39. git:
  40. url: "https://gitcode.com/openharmony-sig/flutter_fluttertoast.git"
  41. ref: "br_8.2.8_ohos"
  42. dots_indicator: ^2.1.0
  43. flutter_pickers: ^2.1.8
  44. # image_picker: ^1.0.7
  45. image_picker:
  46. git:
  47. url: "https://gitcode.com/openharmony-tpc/flutter_packages.git"
  48. path: "packages/image_picker/image_picker"
  49. image_cropper: ^5.0.0
  50. # image_cropper:
  51. # git:
  52. # url: "https://gitcode.com/openharmony-sig/fluttertpc_image_cropper.git"
  53. # ref: "br_v8.0.2_ohos"
  54. # path: "image_cropper"
  55. # image_gallery_saver: ^2.0.3 #保存图片到相册
  56. # image_gallery_saver_plus: '^3.0.5'
  57. image_gallery_saver:
  58. git:
  59. url: "https://gitcode.com/openharmony-sig/flutter_image_gallery_saver.git"
  60. flutter_image_compress: ^2.2.0 #压缩图片
  61. wechat_assets_picker: ^9.1.0 #模仿微信选择图片
  62. photo_view: ^0.14.0 #图片预览
  63. # image: ^4.1.6
  64. # fluwx: ^5.5.4
  65. fluwx:
  66. git: "https://github.com/OpenFlutter/fluwx.git"
  67. dio: ^4.0.6
  68. connectivity_plus: ^2.3.4
  69. # sp_util: ^2.0.3
  70. easy_refresh: ^3.4.0
  71. #广播,通知
  72. event_bus: ^2.0.0
  73. # popup_menu:
  74. # git: git@github.com:chinabrant/popup_menu.git
  75. # permission_handler: ^11.3.1
  76. # permission_handler: ^11.2.0
  77. permission_handler:
  78. git:
  79. url: "https://gitcode.com/openharmony-sig/flutter_permission_handler.git"
  80. path: "permission_handler"
  81. path_provider: ^2.1.4
  82. # path_provider:
  83. # git:
  84. # url: "https://gitcode.com/openharmony-tpc/flutter_packages.git"
  85. # path: "packages/path_provider/path_provider"
  86. # m_loading: ^0.0.2
  87. # flutter_easyloading: ^3.0.5
  88. #加载网络图片
  89. cached_network_image: ^3.2.3
  90. flutter_cache_manager: ^3.3.1
  91. # flutter_html: ^3.0.0-alpha.6
  92. flutter_html: ^3.0.0-beta.2
  93. webview_flutter: ^4.7.0
  94. flutter_widget_from_html: ^0.15.1
  95. # package_info_plus: ^1.4.2
  96. # audio_session: ^0.1.21
  97. pin_code_fields: ^8.0.1
  98. # flutter_swiper : ^1.1.6
  99. flutter_sound: ^9.6.0
  100. # flutter_sound: ^9.16.3
  101. umeng_common_sdk: ^1.2.7
  102. umeng_push_sdk: ^2.3.0 #友盟推送
  103. flutter_qq_ads: ^2.5.0
  104. #状态管理
  105. get: ^4.6.6
  106. #数据存储
  107. shared_preferences: ^2.3.2
  108. # shared_preferences:
  109. # git:
  110. # url: "https://gitcode.com/openharmony-tpc/flutter_packages.git"
  111. # path: "packages/shared_preferences/shared_preferences"
  112. #弹窗,鸿蒙不支持
  113. # adaptive_dialog: ^1.8.2
  114. #下拉刷新,上拉加载更多
  115. pull_to_refresh: ^2.0.0
  116. #syncfusion_flutter_sliders: ^21.2.10
  117. # flutter_draggable_gridview: ^0.0.8
  118. flutter_draggable_gridview: ^0.0.11
  119. reorderable_grid: ^1.0.10
  120. # reorderable_grid_view: ^2.2.8
  121. custom_sliding_segmented_control: ^1.7.5
  122. syncfusion_flutter_sliders: ^24.1.46
  123. #画虚线
  124. dotted_border: ^2.0.0+3
  125. #时间选择器
  126. #flutter_datetime_picker: ^1.5.1
  127. flutter_datetime_picker_plus: ^2.2.0
  128. # flutter_cupertino_datetime_picker: ^3.0.0
  129. universal_platform: ^1.0.0+1
  130. # flutter_radar_chart: ^0.2.1 #雷达图
  131. # fl_animated_linechart: ^1.1.9 区域图
  132. # macos_ui: ^2.0.0
  133. # package_info_plus: ^4.1.0
  134. win32: ^5.5.4 # package_info_plus中包含的
  135. # screenshot: ^2.1.0
  136. screenshot: ^3.0.0
  137. #flutter_acrylic: ^1.1.3
  138. in_app_purchase: ^3.1.11 #内购
  139. #flutter_launcher_icons: ^0.13.1
  140. # device_info_plus: ^9.1.1
  141. device_info_plus:
  142. git:
  143. url: https://gitcode.com/openharmony-sig/flutter_plus_plugins.git
  144. path: packages/device_info_plus/device_info_plus
  145. ref: br_device_info_plus-v11.1.0_ohos
  146. # package_info_plus: ^8.0.2
  147. package_info_plus:
  148. git:
  149. url: https://gitcode.com/openharmony-sig/flutter_plus_plugins.git
  150. path: packages/package_info_plus/package_info_plus
  151. ref: br_package_info_plus-v8.1.0_ohos
  152. url_launcher: ^6.3.3
  153. # url_launcher:
  154. # git:
  155. # url: "https://gitcode.com/openharmony-tpc/flutter_packages.git"
  156. # path: "packages/url_launcher/url_launcher"
  157. dash_painter: ^1.0.2
  158. # carousel_slider: ^4.2.1 #轮播图
  159. carousel_slider: ^5.0.0
  160. lottie: ^3.1.0 #动画
  161. qr_flutter: ^4.1.0 #二维码生成
  162. # home_widget: ^0.5.0
  163. home_widget: ^0.7.0
  164. workmanager: ^0.5.2
  165. app_links: ^6.3.1
  166. # flutter_timezone: ^1.0.8
  167. # timezone: ^0.10.1
  168. logger: ^2.4.0
  169. #intl: ^0.19.0 #多语言
  170. #easy_localization: ^3.0.7 #多语言
  171. # chart_sparkline: ^1.1.1 #图标
  172. # rate_my_app: ^2.3.0 #评分
  173. # in_app_review: ^2.0.10 #评分
  174. fl_chart: ^0.69.2 #图标
  175. #scrollable_positioned_list: ^0.3.8 #设置ListView 滚动到某个位置
  176. visibility_detector: ^0.4.0+2
  177. #根据宽度自动缩小字体
  178. auto_size_text: ^3.0.0
  179. share_plus: ^10.1.4
  180. flutter_staggered_animations: ^1.1.1
  181. dropdown_button2: ^2.3.9
  182. side_sheet: ^1.0.4+1
  183. scroll_to_index: ^3.0.1 #ListView滚动到某个位置
  184. #苹果健康
  185. # health: ^13.0.1
  186. # health_kit_reporter: ^2.3.1
  187. # open_file: ^3.5.10
  188. # sqflite: ^2.3.3
  189. # intl: ^0.19.0
  190. # flutter_localization: ^0.2.1
  191. # flutter_neumorphic: ^3.2.0
  192. dev_dependencies:
  193. flutter_test:
  194. sdk: flutter
  195. # pigeon:
  196. # git:
  197. # url: "https://gitcode.com/openharmony-tpc/flutter_packages.git"
  198. # path: "packages/pigeon"
  199. # The "flutter_lints" package below contains a set of recommended lints to
  200. # encourage good coding practices. The lint set provided by the package is
  201. # activated in the `analysis_options.yaml` file located at the root of your
  202. # package. See that file for information about deactivating specific lint
  203. # rules and activating additional ones.
  204. flutter_lints: ^2.0.0
  205. # flutter_native_splash: ^2.3.8
  206. # For information on the generic Dart part of this file, see the
  207. # following page: https://dart.dev/tools/pub/pubspec
  208. # The following section is specific to Flutter packages.
  209. flutter:
  210. # The following line ensures that the Material Icons font is
  211. # included with your application, so that you can use the icons in
  212. # the material Icons class.
  213. uses-material-design: true
  214. # To add assets to your application, add an assets section, like this:
  215. assets:
  216. - assets/images/
  217. - assets/images/loading.gif
  218. - assets/images/ai_respond_loading.gif
  219. - assets/lottie/
  220. - assets/otherimages/
  221. # fonts:
  222. # - family: PingFang
  223. # asset: fonts/ping_fang.ttf
  224. # An image asset can refer to one or more resolution-specific "variants", see
  225. # https://flutter.dev/assets-and-images/#resolution-aware
  226. # For details regarding adding assets from package dependencies, see
  227. # https://flutter.dev/assets-and-images/#from-packages
  228. # To add custom fonts to your application, add a fonts section here,
  229. # in this "flutter" section. Each entry in this list should have a
  230. # "family" key with the font family name, and a "fonts" key with a
  231. # list giving the asset and other descriptors for the font. For
  232. # example:
  233. # - family: Schyler
  234. # fonts:
  235. # - asset: fonts/Schyler-Regular.ttf
  236. # - asset: fonts/Schyler-Italic.ttf
  237. # style: italic
  238. # - family: Trajan Pro
  239. # fonts:
  240. # - asset: fonts/TrajanPro.ttf
  241. # - asset: fonts/TrajanPro_Bold.ttf
  242. # weight: 700
  243. #
  244. # For details regarding fonts from package dependencies,
  245. # see https://flutter.dev/custom-fonts/#from-packages
  246. #flutter_intl:
  247. # enabled: true
  248. #让所有依赖都指向同一个来源
  249. dependency_overrides:
  250. shared_preferences:
  251. git:
  252. url: "https://gitcode.com/openharmony-tpc/flutter_packages.git"
  253. path: "packages/shared_preferences/shared_preferences"
  254. path_provider:
  255. git:
  256. url: "https://gitcode.com/openharmony-tpc/flutter_packages.git"
  257. path: "packages/path_provider/path_provider"
  258. url_launcher:
  259. git:
  260. url: "https://gitcode.com/openharmony-tpc/flutter_packages.git"
  261. path: "packages/url_launcher/url_launcher"