onDetect property

(void Function(BarcodeCapture barcodes)?) onDetect
final

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;