Sunmi barcode scanner
init plugin
Stream<String>? scannerListener = SunmiBarcodeScanner.init;
Listen
scannerListener?.listen((barcode) {
print('scanned barcode : $barcode');
});
Call laser scan with button
bool? scannerCalled = await SunmiBarcodeScanner.scan;
Tested devices (โ)
- L2
- V2 pro