pubspec.yaml 4.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124
  1. name: chicken_farm
  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 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.10.1
  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. # The following adds the Cupertino Icons font to your application.
  31. # Use with the CupertinoIcons class for iOS style icons.
  32. # 状态管理
  33. flutter_riverpod: ^2.3.0
  34. riverpod_annotation: ^2.1.1
  35. # 网络请求
  36. dio: ^5.4.0
  37. # 路由管理
  38. go_router: ^12.1.0
  39. # 工具
  40. json_annotation: ^4.9.0 # JSON 序列化
  41. logger: ^1.1.0 # 日志
  42. fluttertoast: ^8.2.2 # 弹窗
  43. shared_preferences: ^2.2.2 # 本地存储
  44. getwidget: ^7.0.0
  45. flutter_scankit: ^2.0.6
  46. mobile_scanner: ^7.1.3
  47. audioplayers: ^6.5.1
  48. intl: ^0.19.0
  49. image_picker: ^1.2.1
  50. path_provider: ^2.1.5
  51. flutter_image_compress: ^2.3.0
  52. connectivity_plus: ^5.0.1
  53. uuid: ^4.2.1
  54. sqflite: ^2.3.0
  55. path: ^1.8.0
  56. excel: ^4.0.0
  57. open_filex: ^4.3.2
  58. # 权限处理(Android/iOS)
  59. permission_handler: ^11.3.1
  60. dev_dependencies:
  61. flutter_test:
  62. sdk: flutter
  63. # The "flutter_lints" package below contains a set of recommended lints to
  64. # encourage good coding practices. The lint set provided by the package is
  65. # activated in the `analysis_options.yaml` file located at the root of your
  66. # package. See that file for information about deactivating specific lint
  67. # rules and activating additional ones.
  68. flutter_lints: ^6.0.0
  69. build_runner: ^2.4.4
  70. json_serializable: ^6.7.0
  71. riverpod_generator: ^2.2.3
  72. # For information on the generic Dart part of this file, see the
  73. # following page: https://dart.dev/tools/pub/pubspec
  74. # The following section is specific to Flutter packages.
  75. flutter:
  76. # The following line ensures that the Material Icons font is
  77. # included with your application, so that you can use the icons in
  78. # the material Icons class.
  79. uses-material-design: true
  80. # To add assets to your application, add an assets section, like this:
  81. # assets:
  82. # - images/a_dot_burr.jpeg
  83. # - images/a_dot_ham.jpeg
  84. assets:
  85. - assets/sounds/beep.mp3
  86. # An image asset can refer to one or more resolution-specific "variants", see
  87. # https://flutter.dev/to/resolution-aware-images
  88. # For details regarding adding assets from package dependencies, see
  89. # https://flutter.dev/to/asset-from-package
  90. # To add custom fonts to your application, add a fonts section here,
  91. # in this "flutter" section. Each entry in this list should have a
  92. # "family" key with the font family name, and a "fonts" key with a
  93. # list giving the asset and other descriptors for the font. For
  94. # example:
  95. # fonts:
  96. # - family: Schyler
  97. # fonts:
  98. # - asset: fonts/Schyler-Regular.ttf
  99. # - asset: fonts/Schyler-Italic.ttf
  100. # style: italic
  101. # - family: Trajan Pro
  102. # fonts:
  103. # - asset: fonts/TrajanPro.ttf
  104. # - asset: fonts/TrajanPro_Bold.ttf
  105. # weight: 700
  106. #
  107. # For details regarding fonts from package dependencies,
  108. # see https://flutter.dev/to/font-from-package