onScan property

void Function(String code) onScan
final

Callback called when a barcode is successfully scanned.

Implementation

final void Function(String code) onScan;