NativeImageCropperMacOS class final

The MacOS implementation of NativeImageCropperPlatform.

Inheritance
  • Object
  • PlatformInterface
  • NativeImageCropperMacOS

Constructors

NativeImageCropperMacOS()

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

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

registerWith() → void
Registers this class as the default instance of NativeImageCropperPlatform.