pubspec.yaml 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103
  1. name: o2_flutter
  2. description: A new Flutter module project.
  3. # The following defines the version and build number for your application.
  4. # A version number is three numbers separated by dots, like 1.2.43
  5. # followed by an optional build number separated by a +.
  6. # Both the version and the builder number may be overridden in flutter
  7. # build by specifying --build-name and --build-number, respectively.
  8. # In Android, build-name is used as versionName while build-number used as versionCode.
  9. # Read more about Android versioning at https://developer.android.com/studio/publish/versioning
  10. # In iOS, build-name is used as CFBundleShortVersionString while build-number used as CFBundleVersion.
  11. # Read more about iOS versioning at
  12. # https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html
  13. #
  14. # This version is used _only_ for the Runner app, which is used if you just do
  15. # a `flutter run` or a `flutter make-host-app-editable`. It has no impact
  16. # on any other native host app that you embed your Flutter project into.
  17. version: 1.0.0+1
  18. environment:
  19. sdk: ">=2.17.0 <3.0.0"
  20. dependencies:
  21. flutter:
  22. sdk: flutter
  23. # The following adds the Cupertino Icons font to your application.
  24. # Use with the CupertinoIcons class for iOS style icons.
  25. cupertino_icons: ^1.0.2
  26. # 路由
  27. fluro: ^2.0.3
  28. shared_preferences: ^2.0.15
  29. dio: ^4.0.6
  30. # 横拉操作菜单
  31. flutter_slidable: ^1.3.0
  32. path_provider: ^2.0.10
  33. # image_picker: ^0.8.5+3
  34. image: ^3.2.0
  35. # image_cropper: ^2.0.3
  36. toast: ^0.3.0
  37. dev_dependencies:
  38. flutter_test:
  39. sdk: flutter
  40. flutter_lints: ^2.0.0
  41. # For information on the generic Dart part of this file, see the
  42. # following page: https://dart.dev/tools/pub/pubspec
  43. flutter:
  44. # The following line ensures that the Material Icons font is
  45. # included with your application, so that you can use the icons in
  46. # the material Icons class.
  47. uses-material-design: true
  48. assets:
  49. - assets/
  50. - images/
  51. # To add Flutter specific assets to your application, add an assets section,
  52. # like this:
  53. # assets:
  54. # - images/a_dot_burr.jpeg
  55. # - images/a_dot_ham.jpeg
  56. # An image asset can refer to one or more resolution-specific "variants", see
  57. # https://flutter.dev/assets-and-images/#resolution-aware
  58. # For details regarding adding assets from package dependencies, see
  59. # https://flutter.dev/assets-and-images/#from-packages
  60. # To add Flutter specific custom fonts to your application, add a fonts
  61. # section here, in this "flutter" section. Each entry in this list should
  62. # have a "family" key with the font family name, and a "fonts" key with a
  63. # list giving the asset and other descriptors for the font. For
  64. # example:
  65. # fonts:
  66. # - family: Schyler
  67. # fonts:
  68. # - asset: fonts/Schyler-Regular.ttf
  69. # - asset: fonts/Schyler-Italic.ttf
  70. # style: italic
  71. # - family: Trajan Pro
  72. # fonts:
  73. # - asset: fonts/TrajanPro.ttf
  74. # - asset: fonts/TrajanPro_Bold.ttf
  75. # weight: 700
  76. #
  77. # For details regarding fonts from package dependencies,
  78. # see https://flutter.dev/custom-fonts/#from-packages
  79. # This section identifies your Flutter project as a module meant for
  80. # embedding in a native host app. These identifiers should _not_ ordinarily
  81. # be changed after generation - they are used to ensure that the tooling can
  82. # maintain consistency when adding or modifying assets and plugins.
  83. # They also do not have any bearing on your native host application's
  84. # identifiers, which may be completely independent or the same as these.
  85. module:
  86. androidX: true
  87. androidPackage: net.o2oa.app.flutter.o2_flutter
  88. iosBundleIdentifier: net.o2oa.app.flutter.o2Flutter