pubspec.yaml 2.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  1. name: r_scan_example
  2. description: Demonstrates how to use the r_scan plugin.
  3. publish_to: 'none'
  4. environment:
  5. sdk: ">=2.1.0 <3.0.0"
  6. dependencies:
  7. flutter:
  8. sdk: flutter
  9. #权限请求
  10. permission_handler: ^3.0.0
  11. # The following adds the Cupertino Icons font to your application.
  12. # Use with the CupertinoIcons class for iOS style icons.
  13. cupertino_icons: ^0.1.2
  14. image_picker: ^0.6.1+10
  15. dev_dependencies:
  16. flutter_test:
  17. sdk: flutter
  18. r_scan:
  19. path: ../
  20. # For information on the generic Dart part of this file, see the
  21. # following page: https://dart.dev/tools/pub/pubspec
  22. # The following section is specific to Flutter.
  23. flutter:
  24. # The following line ensures that the Material Icons font is
  25. # included with your application, so that you can use the icons in
  26. # the material Icons class.
  27. uses-material-design: true
  28. assets:
  29. - images/qrCode.png
  30. # To add assets to your application, add an assets section, like this:
  31. # assets:
  32. # - images/a_dot_burr.jpeg
  33. # - images/a_dot_ham.jpeg
  34. # An image asset can refer to one or more resolution-specific "variants", see
  35. # https://flutter.dev/assets-and-images/#resolution-aware.
  36. # For details regarding adding assets from package dependencies, see
  37. # https://flutter.dev/assets-and-images/#from-packages
  38. # To add custom fonts to your application, add a fonts section here,
  39. # in this "flutter" section. Each entry in this list should have a
  40. # "family" key with the font family name, and a "fonts" key with a
  41. # list giving the asset and other descriptors for the font. For
  42. # example:
  43. # fonts:
  44. # - family: Schyler
  45. # fonts:
  46. # - asset: fonts/Schyler-Regular.ttf
  47. # - asset: fonts/Schyler-Italic.ttf
  48. # style: italic
  49. # - family: Trajan Pro
  50. # fonts:
  51. # - asset: fonts/TrajanPro.ttf
  52. # - asset: fonts/TrajanPro_Bold.ttf
  53. # weight: 700
  54. #
  55. # For details regarding fonts from package dependencies,
  56. # see https://flutter.dev/custom-fonts/#from-packages