CameraKitOcrPlusView constructor

const CameraKitOcrPlusView({
  1. Key? key,
  2. required void onTextRead(
    1. OcrData data
    )?,
  3. CameraKitPlusController? controller,
  4. void onZoomChanged(
    1. double zoom
    )?,
  5. bool showFrame = false,
  6. bool showZoomSlider = false,
  7. bool showTextRectangles = false,
  8. bool focusRequired = false,
})

Implementation

const CameraKitOcrPlusView({
  super.key,
  required this.onTextRead,
  this.controller,
  this.onZoomChanged,
  this.showFrame = false,
  this.showZoomSlider = false,
  this.showTextRectangles = false,
  this.focusRequired = false, // Default to false for OCR
});