FlMlKitScanning constructor

FlMlKitScanning({
  1. Key? key,
  2. List<BarcodeFormat>? barcodeFormats,
  3. EventBarcodeListen? onDataChanged,
  4. Widget? overlay,
  5. ValueChanged<FlashState>? onFlashChanged,
  6. bool autoScanning = true,
  7. ValueChanged<CameraZoomState>? onZoomChanged,
  8. bool updateReset = false,
  9. CameraInfo? camera,
  10. CameraResolution resolution = CameraResolution.medium,
  11. BoxFit fit = BoxFit.fitWidth,
  12. Widget? uninitialized,
  13. double frequency = 500,
})

Implementation

FlMlKitScanning({
  super.key,
  List<BarcodeFormat>? barcodeFormats,
  this.onDataChanged,
  this.overlay,
  this.onFlashChanged,
  this.autoScanning = true,
  this.onZoomChanged,
  this.updateReset = false,
  this.camera,
  this.resolution = CameraResolution.medium,
  this.fit = BoxFit.fitWidth,
  this.uninitialized,
  this.frequency = 500,
}) : barcodeFormats = barcodeFormats ?? <BarcodeFormat>[BarcodeFormat.qrCode];