FocusedAreaOCRPainter constructor

FocusedAreaOCRPainter({
  1. required RecognizedText recognizedText,
  2. required Size imageSize,
  3. required InputImageRotation rotation,
  4. required CameraLensDirection cameraLensDirection,
  5. required double focusedAreaWidth,
  6. required double focusedAreaHeight,
  7. required Offset focusedAreaCenter,
  8. required Radius focusedAreaRadius,
  9. Paint? focusedAreaPaint,
  10. Paint? unfocusedAreaPaint,
  11. Paint? textBackgroundPaint,
  12. TextStyle? uiTextStyle,
  13. Function? onScanText,
})

Implementation

FocusedAreaOCRPainter({
  required this.recognizedText,
  required this.imageSize,
  required this.rotation,
  required this.cameraLensDirection,
  required this.focusedAreaWidth,
  required this.focusedAreaHeight,
  required this.focusedAreaCenter,
  required this.focusedAreaRadius,
  this.focusedAreaPaint,
  this.unfocusedAreaPaint,
  this.textBackgroundPaint,
  this.uiTextStyle,
  this.onScanText,
});