CreamOfTheCropWeb class
A web implementation of the CreamOfTheCropPlatform of the CreamOfTheCrop plugin.
- Inheritance
-
- Object
- PlatformInterface
- CreamOfTheCropPlatform
- CreamOfTheCropWeb
Constructors
- CreamOfTheCropWeb()
- Constructs a CreamOfTheCropWeb
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
-
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?> -
Returns a String containing the version of the platform.
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
Static Methods
-
registerWith(
Registrar registrar) → void