WindowBarcodeScanner constructor
const
WindowBarcodeScanner({
- Key? key,
- required String lineColor,
- required String cancelButtonText,
- required bool isShowFlashIcon,
- required ScanType scanType,
- CameraFace cameraFace = CameraFace.back,
- required dynamic onScanned(),
- String? appBarTitle,
- bool? centerTitle,
- BarcodeAppBar? barcodeAppBar,
- int? delayMillis,
- Function? onClose,
Implementation
const WindowBarcodeScanner({
super.key,
required this.lineColor,
required this.cancelButtonText,
required this.isShowFlashIcon,
required this.scanType,
this.cameraFace = CameraFace.back,
required this.onScanned,
this.appBarTitle,
this.centerTitle,
this.barcodeAppBar,
this.delayMillis,
this.onClose,
});