onDetect property
The function that signals when new codes were detected by the controller. If null, use the controller.barcodes stream directly to capture barcodes.
Implementation
final void Function(BarcodeCapture barcodes)? onDetect;
The function that signals when new codes were detected by the controller. If null, use the controller.barcodes stream directly to capture barcodes.
final void Function(BarcodeCapture barcodes)? onDetect;