pubspec.yaml 4.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204
  1. name: location
  2. description: "手机定位追迹"
  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: 3.2.1+321
  19. environment:
  20. sdk: ^3.5.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.7.2
  32. # 网络
  33. dio: 5.7.0
  34. pretty_dio_logger: 1.4.0
  35. retrofit: 4.4.1
  36. json_annotation: 4.9.0
  37. #获取设备信息
  38. device_info_plus: 10.1.2
  39. android_id: 0.4.0
  40. # 包信息
  41. package_info_plus: 8.1.1
  42. # 隐私追踪
  43. app_tracking_transparency: ^2.0.5
  44. # 屏幕适配
  45. flutter_screenutil: 5.9.3
  46. # 弹窗
  47. flutter_smart_dialog: 4.9.8
  48. #数据存储
  49. mmkv: 2.0.2
  50. #权限申请
  51. permission_handler: 11.3.1
  52. #上、下拉刷新
  53. pull_to_refresh: 2.0.0
  54. #本地化
  55. flutter_localizations:
  56. sdk: flutter
  57. #依赖注入
  58. injectable: 2.5.0
  59. #日期格式化等
  60. intl: 0.19.0
  61. #网页跳转
  62. webview_flutter: 4.10.0
  63. #跑马灯
  64. marquee: 2.3.0
  65. #socket连接
  66. web_socket_channel: 3.0.2
  67. #switch
  68. animated_toggle_switch: 0.8.4
  69. #通讯录选择
  70. flutter_contacts: ^1.1.9+2
  71. #微信支付、分享
  72. wechat_kit: ^6.0.1
  73. #抽屉
  74. sliding_sheet2: ^2.0.1
  75. #时间轴
  76. # timelines_plus: 1.0.6
  77. #时间滚轴选择器
  78. flutter_cupertino_datetime_picker: ^3.0.0
  79. #拨号
  80. url_launcher: 6.3.1
  81. ######################地图########################
  82. flutter_map:
  83. path: plugins/map
  84. ##Android端
  85. # map_google_android:
  86. # path: plugins/map_google_android
  87. map_amap_android:
  88. path: plugins/map_amap_android
  89. ##iOS端
  90. # map_amap_ios:
  91. # path: plugins/map_amap_ios
  92. ######################地图########################
  93. #日志打印
  94. atmob_logging:
  95. version: ^0.0.5
  96. hosted:
  97. name: atmob_logging
  98. url: http://pub.v8dashen.com/
  99. #渠道包信息
  100. atmob_channel_reader:
  101. version: ^0.0.2
  102. hosted:
  103. name: atmob_channel_reader
  104. url: http://pub.v8dashen.com/
  105. #oaid
  106. # oaid:
  107. # git:
  108. # url: http://git.atmob.com:28999/Atmob-Flutter/Oaid.git
  109. # ref: v0.0.1
  110. dev_dependencies:
  111. flutter_test:
  112. sdk: flutter
  113. retrofit_generator: '>=8.0.0 <10.0.0'
  114. build_runner: 2.4.13
  115. json_serializable: 6.9.0
  116. flutter_gen_runner: 5.9.0
  117. flutter_lints: ^5.0.0
  118. injectable_generator: 2.6.2
  119. string_get_runner:
  120. git:
  121. url: http://git.atmob.com:28999/Atmob-Flutter/string_get_runner.git
  122. ref: v0.0.3
  123. #----------gen配置---------------
  124. flutter_gen:
  125. output: lib/resource/
  126. colors:
  127. inputs:
  128. - assets/color/common_color.xml
  129. - assets/color/color.xml
  130. #----------gen配置---------------
  131. # For information on the generic Dart part of this file, see the
  132. # following page: https://dart.dev/tools/pub/pubspec
  133. # The following section is specific to Flutter packages.
  134. flutter:
  135. # The following line ensures that the Material Icons font is
  136. # included with your application, so that you can use the icons in
  137. # the material Icons class.
  138. uses-material-design: true
  139. # To add assets to your application, add an assets section, like this:
  140. # assets:
  141. # - images/a_dot_burr.jpeg
  142. # - images/a_dot_ham.jpeg
  143. # An image asset can refer to one or more resolution-specific "variants", see
  144. # https://flutter.dev/to/resolution-aware-images
  145. # For details regarding adding assets from package dependencies, see
  146. # https://flutter.dev/to/asset-from-package
  147. assets:
  148. - assets/images/
  149. wechat_kit:
  150. ios: no_pay # 默认 pay
  151. app_id: wx64695e2b8346a227
  152. universal_link: https://flutter.dev