FocusedAreaOCRPainter constructor
FocusedAreaOCRPainter({
- required RecognizedText recognizedText,
- required Size imageSize,
- required InputImageRotation rotation,
- required CameraLensDirection cameraLensDirection,
- required double focusedAreaWidth,
- required double focusedAreaHeight,
- required Offset focusedAreaCenter,
- required Radius focusedAreaRadius,
- Paint? focusedAreaPaint,
- Paint? unfocusedAreaPaint,
- Paint? textBackgroundPaint,
- TextStyle? uiTextStyle,
- 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,
});