ProofCropHelper class
Crop Helper for proof images: brand new image.
- Inheritance
-
- Object
- CropHelper
- ProofCropHelper
Constructors
- ProofCropHelper({required PriceModel model})
Properties
- enableEraser → bool
-
Should we display the eraser with the crop grid?
no setteroverride
- hashCode → int
-
The hash code for this object.
no setterinherited
- model → PriceModel
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
getLocalCropRect(
CropController controller) → Rect -
Returns the crop rect according to local cropping method * factor.
inherited
-
getPageTitle(
AppLocalizations appLocalizations) → String -
Page title of the crop page.
override
-
getProcessIcon(
) → Widget -
Icon of the "process!" button.
override
-
getProcessLabel(
AppLocalizations appLocalizations) → String -
Label of the "process!" button.
override
-
isNewImage(
) → bool -
Is that a new image, or an already cropped one?
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
process(
{required BuildContext context, required CropController controller, required File inputFile, required int inputFullWidth, required int inputFullHeight, required File preCroppedFile, required Directory directory, required int sequenceNumber, required List< Offset> offsets}) → Future<CropParameters> -
Processes the crop operation.
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited