pubspec.yaml 4.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146
  1. name: abroad_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: 1.0.0+1
  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. flutter_localizations:
  54. sdk: flutter
  55. #依赖注入
  56. injectable: 2.5.0
  57. #webview
  58. flutter_inappwebview: ^6.1.5
  59. #上、下拉刷新
  60. pull_to_refresh: 2.0.0
  61. #抽屉
  62. sliding_sheet2: 2.0.1
  63. #日志打印
  64. atmob_logging:
  65. version: ^0.0.5
  66. hosted:
  67. name: atmob_logging
  68. url: http://pub.v8dashen.com/
  69. # The following adds the Cupertino Icons font to your application.
  70. # Use with the CupertinoIcons class for iOS style icons.
  71. cupertino_icons: ^1.0.8
  72. dev_dependencies:
  73. flutter_test:
  74. sdk: flutter
  75. retrofit_generator: '>=8.0.0 <10.0.0'
  76. build_runner: 2.4.13
  77. json_serializable: 6.9.0
  78. flutter_gen_runner: 5.9.0
  79. flutter_lints: ^5.0.0
  80. injectable_generator: 2.6.2
  81. string_get_runner:
  82. git:
  83. url: http://git.atmob.com:28999/Atmob-Flutter/string_get_runner.git
  84. ref: v0.0.4
  85. #----------gen配置---------------
  86. flutter_gen:
  87. output: lib/resource/
  88. fonts:
  89. colors:
  90. inputs:
  91. - assets/color/common_color.xml
  92. - assets/color/color.xml
  93. #----------------------------------------
  94. #字符串生成配置
  95. flutter_string_get:
  96. language: 'en_US'
  97. # The "flutter_lints" package below contains a set of recommended lints to
  98. # encourage good coding practices. The lint set provided by the package is
  99. # activated in the `analysis_options.yaml` file located at the root of your
  100. # package. See that file for information about deactivating specific lint
  101. # rules and activating additional ones.
  102. # For information on the generic Dart part of this file, see the
  103. # following page: https://dart.dev/tools/pub/pubspec
  104. # The following section is specific to Flutter packages.
  105. flutter:
  106. # The following line ensures that the Material Icons font is
  107. # included with your application, so that you can use the icons in
  108. # the material Icons class.
  109. uses-material-design: true
  110. assets:
  111. - assets/images/