BarcodeScanner constructor
const
BarcodeScanner({
- Key? key,
- String lineColor = "#ff6666",
- String cancelButtonText = "Cancel",
- bool isShowFlashIcon = false,
- ScanType scanType = ScanType.barcode,
- CameraFace cameraFace = CameraFace.back,
- required dynamic onScanned(),
- String? appBarTitle,
- Widget? child,
- bool? centerTitle,
- BarcodeAppBar? barcodeAppBar,
- int? delayMillis,
- 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});