BarcodeScanner constructor
const
BarcodeScanner({
- required ValueChanged<
Barcode> onScan, - required BarcodeScannerInitializeCallback onScannerInitialized,
- ScannerParameters? initialArguments,
- CameraInitilizeError? onCameraInitializeError,
- ValueChanged<
bool> ? onChangeFlashState, - Key? key,
Implementation
const BarcodeScanner({
required this.onScan,
required this.onScannerInitialized,
this.initialArguments,
this.onCameraInitializeError,
this.onChangeFlashState,
Key? key,
}) : super(key: key);