WindowBarcodeScanner constructor

const WindowBarcodeScanner({
  1. Key? key,
  2. required String lineColor,
  3. required String cancelButtonText,
  4. required bool isShowFlashIcon,
  5. required ScanType scanType,
  6. CameraFace cameraFace = CameraFace.back,
  7. required dynamic onScanned(
    1. String
    ),
  8. String? appBarTitle,
  9. bool? centerTitle,
  10. BarcodeAppBar? barcodeAppBar,
  11. int? delayMillis,
  12. 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,
});