BarcodeScanner constructor

const BarcodeScanner({
  1. Key? key,
  2. String lineColor = "#ff6666",
  3. String cancelButtonText = "Cancel",
  4. bool isShowFlashIcon = false,
  5. ScanType scanType = ScanType.barcode,
  6. CameraFace cameraFace = CameraFace.back,
  7. required dynamic onScanned(
    1. String
    ),
  8. String? appBarTitle,
  9. Widget? child,
  10. bool? centerTitle,
  11. BarcodeAppBar? barcodeAppBar,
  12. int? delayMillis,
  13. Function? onClose,
})

Implementation

const BarcodeScanner(
    {super.key,
    this.lineColor = "#ff6666",
    this.cancelButtonText = "Cancel",
    this.isShowFlashIcon = false,
    this.scanType = ScanType.barcode,
    this.cameraFace = CameraFace.back,
    required this.onScanned,
    this.appBarTitle,
    this.child,
    this.centerTitle,
    this.barcodeAppBar,
    this.delayMillis,
    this.onClose});