pubspec.yaml 4.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129
  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.0.0+1
  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. device_info_plus: ^10.1.2
  34. android_id: ^0.4.0
  35. # 包信息
  36. package_info_plus: ^8.1.1
  37. # 隐私追踪
  38. app_tracking_transparency: ^2.0.5
  39. # 屏幕适配
  40. flutter_screenutil: ^5.9.3
  41. #权限申请
  42. permission_handler: ^11.3.1
  43. # The following adds the Cupertino Icons font to your application.
  44. # Use with the CupertinoIcons class for iOS style icons.
  45. cupertino_icons: ^1.0.8
  46. dev_dependencies:
  47. flutter_test:
  48. sdk: flutter
  49. retrofit_generator: '>=8.0.0 <10.0.0' # for Dart 3.3 use ^9.0.0
  50. build_runner: ^2.4.13
  51. json_serializable: ^6.9.0
  52. flutter_gen_runner:
  53. # The "flutter_lints" package below contains a set of recommended lints to
  54. # encourage good coding practices. The lint set provided by the package is
  55. # activated in the `analysis_options.yaml` file located at the root of your
  56. # package. See that file for information about deactivating specific lint
  57. # rules and activating additional ones.
  58. flutter_lints: ^5.0.0
  59. #----------gen配置---------------
  60. flutter_gen:
  61. output: lib/resource/
  62. colors:
  63. inputs:
  64. - assets/color/common_color.xml
  65. - assets/color/color.xml
  66. # For information on the generic Dart part of this file, see the
  67. # following page: https://dart.dev/tools/pub/pubspec
  68. # The following section is specific to Flutter packages.
  69. flutter:
  70. # The following line ensures that the Material Icons font is
  71. # included with your application, so that you can use the icons in
  72. # the material Icons class.
  73. uses-material-design: true
  74. assets:
  75. - assets/images/
  76. # To add assets to your application, add an assets section, like this:
  77. # assets:
  78. # - images/a_dot_burr.jpeg
  79. # - images/a_dot_ham.jpeg
  80. # An image asset can refer to one or more resolution-specific "variants", see
  81. # https://flutter.dev/to/resolution-aware-images
  82. # For details regarding adding assets from package dependencies, see
  83. # https://flutter.dev/to/asset-from-package
  84. # To add custom fonts to your application, add a fonts section here,
  85. # in this "flutter" section. Each entry in this list should have a
  86. # "family" key with the font family name, and a "fonts" key with a
  87. # list giving the asset and other descriptors for the font. For
  88. # example:
  89. # fonts:
  90. # - family: Schyler
  91. # fonts:
  92. # - asset: fonts/Schyler-Regular.ttf
  93. # - asset: fonts/Schyler-Italic.ttf
  94. # style: italic
  95. # - family: Trajan Pro
  96. # fonts:
  97. # - asset: fonts/TrajanPro.ttf
  98. # - asset: fonts/TrajanPro_Bold.ttf
  99. # weight: 700
  100. #
  101. # For details regarding fonts from package dependencies,
  102. # see https://flutter.dev/to/font-from-package