pubspec.yaml 3.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100
  1. name: nrf
  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 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.1+1
  17. environment:
  18. sdk: ">=2.16.2 <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. flutter_reactive_ble: ^5.0.2
  32. buffer: any
  33. synchronized: any
  34. async: any
  35. permission_handler: any #权限
  36. file_picker: any
  37. path_provider: any #路径
  38. wakelock: any
  39. nordic_dfu: #^5.0.1
  40. path: plugin/nordic_dfu-5.0.1
  41. dev_dependencies:
  42. flutter_test:
  43. sdk: flutter
  44. # The "flutter_lints" package below contains a set of recommended lints to
  45. # encourage good coding practices. The lint set provided by the package is
  46. # activated in the `analysis_options.yaml` file located at the root of your
  47. # package. See that file for information about deactivating specific lint
  48. # rules and activating additional ones.
  49. flutter_lints: ^1.0.0
  50. # For information on the generic Dart part of this file, see the
  51. # following page: https://dart.dev/tools/pub/pubspec
  52. # The following section is specific to Flutter.
  53. flutter:
  54. # The following line ensures that the Material Icons font is
  55. # included with your application, so that you can use the icons in
  56. # the material Icons class.
  57. uses-material-design: true
  58. # To add assets to your application, add an assets section, like this:
  59. # assets:
  60. # - images/a_dot_burr.jpeg
  61. # - images/a_dot_ham.jpeg
  62. # An image asset can refer to one or more resolution-specific "variants", see
  63. # https://flutter.dev/assets-and-images/#resolution-aware.
  64. # For details regarding adding assets from package dependencies, see
  65. # https://flutter.dev/assets-and-images/#from-packages
  66. # To add custom fonts to your application, add a fonts section here,
  67. # in this "flutter" section. Each entry in this list should have a
  68. # "family" key with the font family name, and a "fonts" key with a
  69. # list giving the asset and other descriptors for the font. For
  70. # example:
  71. # fonts:
  72. # - family: Schyler
  73. # fonts:
  74. # - asset: fonts/Schyler-Regular.ttf
  75. # - asset: fonts/Schyler-Italic.ttf
  76. # style: italic
  77. # - family: Trajan Pro
  78. # fonts:
  79. # - asset: fonts/TrajanPro.ttf
  80. # - asset: fonts/TrajanPro_Bold.ttf
  81. # weight: 700
  82. #
  83. # For details regarding fonts from package dependencies,
  84. # see https://flutter.dev/custom-fonts/#from-packages