pubspec.yaml 4.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101
  1. name: deus_app
  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: '>=2.18.6 <3.0.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. # The following adds the Cupertino Icons font to your application.
  31. # Use with the CupertinoIcons class for iOS style icons.
  32. cupertino_icons: ^1.0.2
  33. dev_dependencies:
  34. flutter_test:
  35. sdk: flutter
  36. # The "flutter_lints" package below contains a set of recommended lints to
  37. # encourage good coding practices. The lint set provided by the package is
  38. # activated in the `analysis_options.yaml` file located at the root of your
  39. # package. See that file for information about deactivating specific lint
  40. # rules and activating additional ones.
  41. flutter_lints: ^2.0.0
  42. fluttertoast: ^8.0.8
  43. flutter_redux: 0.10.0
  44. shared_preferences: 2.0.10
  45. flutter_native_splash: ^1.2.0
  46. flutter_smart_dialog: ^4.5.3+7
  47. json_serializable: ^3.3.0
  48. build_runner: ^1.1.3
  49. dio: ^4.0.4
  50. synchronized: ^3.0.1 #用于同步处理数据存储
  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 packages.
  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 assets to your application, add an assets section, like this:
  60. assets:
  61. - images/
  62. - images/home_bg.jpg
  63. - images/2.0x/home_bg.jpg
  64. - images/3.0x/home_bg.jpg
  65. # An image asset can refer to one or more resolution-specific "variants", see
  66. # https://flutter.dev/assets-and-images/#resolution-aware
  67. # For details regarding adding assets from package dependencies, see
  68. # https://flutter.dev/assets-and-images/#from-packages
  69. # To add custom fonts to your application, add a fonts section here,
  70. # in this "flutter" section. Each entry in this list should have a
  71. # "family" key with the font family name, and a "fonts" key with a
  72. # list giving the asset and other descriptors for the font. For
  73. # example:
  74. # fonts:
  75. # - family: Schyler
  76. # fonts:
  77. # - asset: fonts/Schyler-Regular.ttf
  78. # - asset: fonts/Schyler-Italic.ttf
  79. # style: italic
  80. # - family: Trajan Pro
  81. # fonts:
  82. # - asset: fonts/TrajanPro.ttf
  83. # - asset: fonts/TrajanPro_Bold.ttf
  84. # weight: 700
  85. #
  86. # For details regarding fonts from package dependencies,
  87. # see https://flutter.dev/custom-fonts/#from-packages