setCropArea method

Future<void> setCropArea(
  1. CropRect rect
)

Adds overlay to the CameraPreview and sets area for recognition

rect - Scanning area of the overlay.

Implementation

Future<void> setCropArea(CropRect rect) {
  return _channel.invokeMethod(_setCropAreaMethod, rect.toJson());
}