cropRect static method
Completes with a Uint8List of the cropped bytes in a rectangle shape.
Implementation
static Future<Uint8List> cropRect({
required Uint8List bytes,
required int x,
required int y,
required int width,
required int height,
ImageFormat format = ImageFormat.jpg,
}) =>
NativeImageCropperPlatform.instance.cropRect(
bytes: bytes,
x: x,
y: y,
width: width,
height: height,
format: format,
);