BarcodeScanner constructor

const BarcodeScanner({
  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. Widget? child,
  9. String? appBarTitle,
  10. bool? centerTitle,
  11. BarcodeAppBar? barcodeAppBar,
  12. int? delayMillis,
  13. Function? onClose,
})

Implementation

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