zkc_scanner 2.0.1+6 zkc_scanner: ^2.0.1+6 copied to clipboard
A Flutter plugin for barcode scanning with ZKC PDAs.
zkc_scanner #
A Flutter plugin for barcode scanning with ZKC PDAs.
How to use #
final zkcScanner = ZKCScanner();
zkcScanner.scannerCallBack = this; // this must implement ScannerCallBack
@override
void onDecoded(String? result) {
setState(() {
_scannedCode = result;
});
}
@override
void onError(Exception error) {
setState(() {
_scannedCode = error.toString();
});
}
zkcScanner.startScanner();
zkcScanner.stopScanner();