sunmi_scanner 0.0.6 sunmi_scanner: ^0.0.6 copied to clipboard
Sunmi support package that allows you to easily interface with your scanner device
sunmi_scanner #
A packae for support sunmi scanners
Important #
THIS PACKAGE WILL WORK ONLY IN ANDROID!
Class Name #
SunmiScanner
Example #
void _setScannedValue(String value) {
setState(() {
scannedValue = value;
});
}
@override
void initState() {
super.initState();
SunmiScanner.onBarcodeScanned().listen((event) {
_setScannedValue(event);
});
}
Installation #
flutter pub add sunmi_scanner
Tested Devices #
Sunmi L2ks