BarcodeScanner constructor

const BarcodeScanner({
  1. required ValueChanged<Barcode> onScan,
  2. required BarcodeScannerInitializeCallback onScannerInitialized,
  3. ScannerParameters? initialArguments,
  4. CameraInitilizeError? onCameraInitializeError,
  5. ValueChanged<bool>? onChangeFlashState,
  6. Key? key,
})

Implementation

const BarcodeScanner({
  required this.onScan,
  required this.onScannerInitialized,
  this.initialArguments,
  this.onCameraInitializeError,
  this.onChangeFlashState,
  Key? key,
}) : super(key: key);