CropControllerDelegate class abstract
An abstract delegate class that provides information required for cropping an image.
This class serves as the contract that the CropController relies on to get the image, the crop rectangle, and information about the crop area shape (rectangular or oval). This level of abstraction is useful as it allows to separate concerns and make cropping functionality that is implemented by the ImageCropper and configuration of the crop area independent of each other. This contract is unlikely to need a custom implementation.
Constructors
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
-
getImage(
) → Image? - Returns the image to be cropped.
-
getImageCropRect(
) → Rect - Returns the crop rectangle.
-
isCircleCropArea(
) → bool - Determines whether the crop area is circular.
-
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