MethodChannelCreamOfTheCrop class
An implementation of CreamOfTheCropPlatform that uses method channels.
- Inheritance
-
- Object
- PlatformInterface
- CreamOfTheCropPlatform
- MethodChannelCreamOfTheCrop
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- methodChannel → MethodChannel
-
The method channel used to interact with the native platform.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
cropImage(
Uint8List imageBytes, int sx, int sy, int sw, int sh, int dx, int dy, int dw, int dh, double quality, ImageExportType imageExportType, bool allowUnequalAspectRatio) → Future< Uint8List?> -
override
-
getImageDimensions(
Uint8List imageBytes) → Future< ImageDimensions> -
override
-
getPlatformVersion(
) → Future< String?> -
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
scaleImage(
Uint8List imageBytes, double maxWidth, double maxHeight, double quality, ImageExportType imageExportType) → Future< Uint8List?> -
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited