GnkImageCropController class

The controller that handles the cropping and changing of the cropping area

Constructors

GnkImageCropController()

Properties

cropImageData CropImageData?
The data that handles the transformation of the cropped image.
no setter
hashCode int
The hash code for this object.
no setterinherited
listeners List<CustomImageCropListener>
Listener for the cropping area changes
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

addListener(CustomImageCropListener listener) → void
Add a new listener for the cropping area changes
addTransition(CropImageData transition) → void
Move the cropping area using the given translation
dispose() → void
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
notifyListeners() → void
Notify all listeners for the cropping area changes
onCropImage() Future<MemoryImage?>
Crop the image
removeListener(CustomImageCropListener listener) → void
Remove a listener for the cropping area changes
reset() → void
Reset the cropping area
setData(CropImageData data) → void
Update the cropping area
toString() String
A string representation of this object.
inherited

Operators

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