pubspec.yaml 4.4KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115
  1. name: farmer_client
  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 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.0.0+1
  17. environment:
  18. sdk: ">=2.16.1 <3.0.0"
  19. # Dependencies specify other packages that your package needs in order to work.
  20. # To automatically upgrade your package dependencies to the latest versions
  21. # consider running `flutter pub upgrade --major-versions`. Alternatively,
  22. # dependencies can be manually updated by changing the version numbers below to
  23. # the latest version available on pub.dev. To see which dependencies have newer
  24. # versions available, run `flutter pub outdated`.
  25. dependencies:
  26. flutter:
  27. sdk: flutter
  28. # The following adds the Cupertino Icons font to your application.
  29. # Use with the CupertinoIcons class for iOS style icons.
  30. cupertino_icons: ^1.0.2
  31. json_serializable: ^6.1.5
  32. get: ^4.6.1
  33. dio: ^4.0.6
  34. flutter_screenutil: ^5.3.1
  35. get_storage: ^2.0.3
  36. fluttertoast: ^8.0.9
  37. location: ^4.3.0
  38. amap_flutter_map: ^3.0.0
  39. dev_dependencies:
  40. flutter_test:
  41. sdk: flutter
  42. # The "flutter_lints" package below contains a set of recommended lints to
  43. # encourage good coding practices. The lint set provided by the package is
  44. # activated in the `analysis_options.yaml` file located at the root of your
  45. # package. See that file for information about deactivating specific lint
  46. # rules and activating additional ones.
  47. flutter_lints: ^1.0.0
  48. json_serializable: ^6.1.5
  49. flutter_screenutil: ^5.3.1
  50. fluttertoast: ^8.0.9
  51. # For information on the generic Dart part of this file, see the
  52. # following page: https://dart.dev/tools/pub/pubspec
  53. # The following section is specific to Flutter.
  54. flutter:
  55. # The following line ensures that the Material Icons font is
  56. # included with your application, so that you can use the icons in
  57. # the material Icons class.
  58. uses-material-design: true
  59. # To add images to your application, add an images section, like this:
  60. assets:
  61. - images/icon_login.png
  62. - images/phoneCode.png
  63. - images/HomesNOImgaes.png
  64. - images/HomesOFFImgaes.png
  65. - images/MineNOImgaes.png
  66. - images/MineOFFImgaes.png
  67. - images/newsOFFImages.png
  68. - images/newsONImages.png
  69. - images/OrdersNOImgaes.png
  70. - images/OrdersOFFImgaes.png
  71. - images/cars.png
  72. - images/gpsImgae.png
  73. - images/ordersLeft.png
  74. - images/mineBack.png
  75. - images/userMoren.png
  76. - images/aboutUs.png
  77. - images/feedbacks.png
  78. - images/userRight.png
  79. - images/versionUpdate.png
  80. # An image asset can refer to one or more resolution-specific "variants", see
  81. # https://flutter.dev/assets-and-images/#resolution-aware.
  82. # For details regarding adding images from package dependencies, see
  83. # https://flutter.dev/assets-and-images/#from-packages
  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/custom-fonts/#from-packages