BarcodeScannerView constructor
const
BarcodeScannerView({
- Key? key,
- double? scannerWidth,
- double? scannerHeight,
- required ScanType scanType,
- CameraFace cameraFace = CameraFace.back,
- required dynamic onScanned()?,
- bool continuous = false,
- Widget? child,
- int? delayMillis,
- Function? onClose,
- ScanFormat scanFormat = ScanFormat.ALL_FORMATS,
- required BarcodeScannerViewCreated onBarcodeViewCreated,
Implementation
const BarcodeScannerView(
{super.key,
this.scannerWidth,
this.scannerHeight,
required this.scanType,
this.cameraFace = CameraFace.back,
required this.onScanned,
this.continuous = false,
this.child,
this.delayMillis,
this.onClose,
this.scanFormat = ScanFormat.ALL_FORMATS,
required this.onBarcodeViewCreated});