ImageCropperEngine class

Pure-Dart image cropping, rotation, flipping, and circular masking engine.

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

crop({required Uint8List bytes, required Rect cropRectNormalized, int rotation = 0, bool flipHorizontal = false, bool flipVertical = false, CropShape shape = CropShape.rectangle, OutputFormat format = OutputFormat.preserve, int quality = 90}) → Future<Uint8List>
Crops, rotates, flips, and masks an image represented as raw bytes.
cropSync({required Uint8List bytes, required Rect cropRectNormalized, int rotation = 0, bool flipHorizontal = false, bool flipVertical = false, CropShape shape = CropShape.rectangle, OutputFormat format = OutputFormat.preserve, int quality = 90}) → Uint8List
Synchronous version of crop for pure-Dart environments or unit tests.