BarcodeScannerView constructor

const BarcodeScannerView({
  1. Key? key,
  2. double? scannerWidth,
  3. double? scannerHeight,
  4. required ScanType scanType,
  5. CameraFace cameraFace = CameraFace.back,
  6. required dynamic onScanned(
    1. String
    )?,
  7. bool continuous = false,
  8. Widget? child,
  9. int? delayMillis,
  10. Function? onClose,
  11. ScanFormat scanFormat = ScanFormat.ALL_FORMATS,
  12. 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});