barcode_scanner_plugin 0.0.1
barcode_scanner_plugin: ^0.0.1 copied to clipboard
A federated Flutter plugin to scan barcodes from hardware PDA devices via Android Broadcast Intents and EventChannel stream.
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add barcode_scanner_pluginWith Flutter:
$ flutter pub add barcode_scanner_pluginThis will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):
dependencies:
barcode_scanner_plugin: ^0.0.1Alternatively, your editor might support dart pub get or flutter pub get. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:barcode_scanner_plugin/barcode_scanner_plugin.dart';