crop method

Future<Uint8List?> crop()

Captures the cropped image. Returns null if the image is not loaded or cropping fails.

Implementation

Future<Uint8List?> crop() async {
  if (_state == null) return null;
  return _state!._crop();
}