qrcode_barcode_scanner 3.0.0 qrcode_barcode_scanner: ^3.0.0 copied to clipboard
Plugins to manage the reading of QR code or barcode from an external device as a keyboard.
qrcode_barcode_scanner #
Plugin for managing QR and BAR code reading from an external device.
Important #
THIS PACKAGE WILL WORK ONLY IN ANDROID!
Class Name #
QrcodeBarcodeScanner
Variables #
ScannedCallback onScannedCallback; //void Function(String scannedCode);
Example #
String? _scanValue;
@override
void initState() {
super.initState();
QrcodeBarcodeScanner(
onScannedCallback: (String value) => setState(
() {
_scanValue = value;
},
),
);
}
Installation #
flutter pub add qrcode_barcode_scanner
Tested Devices #
- Sunmi Blink