NativeImageCropper class final

Utility class for cropping images in a native platform.

Implementers

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

cropOval({required Uint8List bytes, required int x, required int y, required int width, required int height, ImageFormat format = ImageFormat.jpg}) Future<Uint8List>
Completes with a Uint8List of the cropped bytes in an oval shape.
cropRect({required Uint8List bytes, required int x, required int y, required int width, required int height, ImageFormat format = ImageFormat.jpg}) Future<Uint8List>
Completes with a Uint8List of the cropped bytes in a rectangle shape.