一个Flutter插件,用于扫描条形码和二维码。
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

58 lines
1.8 KiB

  1. name: barcode_scan
  2. description: A flutter plugin for scanning 2D barcodes and QRCodes via camera.
  3. version: 2.0.0
  4. author: Matthew Smith<matthew.smith@apptreesoftware.com>
  5. homepage: https://github.com/apptreesoftware/flutter_barcode_reader
  6. dependencies:
  7. flutter:
  8. sdk: flutter
  9. environment:
  10. sdk: ">=2.0.0-dev.58.0 <3.0.0"
  11. flutter: ">=1.10.0 <2.0.0"
  12. # For information on the generic Dart part of this file, see the
  13. # following page: https://www.dartlang.org/tools/pub/pubspec
  14. # The following section is specific to Flutter.
  15. flutter:
  16. plugin:
  17. platforms:
  18. android:
  19. package: de.mintware.barcode_scan
  20. pluginClass: BarcodeScanPlugin
  21. ios:
  22. pluginClass: BarcodeScanPlugin
  23. # To add assets to your plugin package, add an assets section, like this:
  24. # assets:
  25. # - images/a_dot_burr.jpeg
  26. # - images/a_dot_ham.jpeg
  27. #
  28. # For details regarding assets in packages, see
  29. # https://flutter.io/assets-and-images/#from-packages
  30. #
  31. # An image asset can refer to one or more resolution-specific "variants", see
  32. # https://flutter.io/assets-and-images/#resolution-aware.
  33. # To add custom fonts to your plugin package, add a fonts section here,
  34. # in this "flutter" section. Each entry in this list should have a
  35. # "family" key with the font family name, and a "fonts" key with a
  36. # list giving the asset and other descriptors for the font. For
  37. # example:
  38. # fonts:
  39. # - family: Schyler
  40. # fonts:
  41. # - asset: fonts/Schyler-Regular.ttf
  42. # - asset: fonts/Schyler-Italic.ttf
  43. # style: italic
  44. # - family: Trajan Pro
  45. # fonts:
  46. # - asset: fonts/TrajanPro.ttf
  47. # - asset: fonts/TrajanPro_Bold.ttf
  48. # weight: 700
  49. #
  50. # For details regarding fonts in packages, see
  51. # https://flutter.io/custom-fonts/#from-packages