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. 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,
    required this.onBarcodeViewCreated});