FlMlKitTextRecognize constructor

const FlMlKitTextRecognize({
  1. Key? key,
  2. EventBarcodeListen? onListen,
  3. Widget? overlay,
  4. Widget? uninitialized,
  5. ValueChanged<FlashState>? onFlashChange,
  6. bool autoScanning = true,
  7. ValueChanged<CameraZoomState>? onZoomChange,
  8. CameraInfo? camera,
  9. CameraResolution resolution = CameraResolution.high,
  10. bool updateReset = false,
  11. BoxFit fit = BoxFit.fitWidth,
  12. RecognizedLanguage recognizedLanguage = RecognizedLanguage.latin,
})

Implementation

const FlMlKitTextRecognize({
  Key? key,
  this.onListen,
  this.overlay,
  this.uninitialized,
  this.onFlashChange,
  this.autoScanning = true,
  this.onZoomChange,
  this.camera,
  this.resolution = CameraResolution.high,
  this.updateReset = false,
  this.fit = BoxFit.fitWidth,
  this.recognizedLanguage = RecognizedLanguage.latin,
}) : super(key: key);