ImageCropper class
Cropping an image file into another.
Constructors
- ImageCropper({required File inputFile, required File outputFile, required Rect crop, required CropRotation rotation, required CustomPainter? overlayPainter})
Properties
- crop → Rect
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- inputFile → File
-
final
- outputFile → File
-
final
- overlayPainter → CustomPainter?
-
final
- rotation → CropRotation
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
saveCroppedBmp(
) → Future< (int, int)> - Crops and saves in a BMP file.
-
saveCroppedJpeg(
) → Future< (int, int)> - Crops and saves in a JPEG file.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited