components/u_image_cropper library

Classes

UCropAspectRatio
Aspect ratio option shown in the cropper toolbar. A null ratio means the crop box can be resized freely.
UImageCropper
Image cropper page (ratios, rotate, flip, brightness/contrast/saturation; pure Dart, all platforms) that pops the cropped bytes; UFile.cropImage wraps it. final Uint8List? out = await UNavigator.push<Uint8List>(UImageCropper(bytes: imageBytes))

Enums

UCropShape
Crop frame shape: rectangle or circle.