CropOptions class
Constructors
- CropOptions.new({CropRect? cropRect, bool enableCrop = false, double? aspectRatio, bool freeform = true, bool showGrid = true, bool lockAspectRatio = false})
-
const
-
CropOptions.fromMap(Map<
String, dynamic> map) -
factory
Properties
- aspectRatio → double?
-
final
- cropRect → CropRect?
-
final
- enableCrop → bool
-
final
- freeform → bool
-
final
- hashCode → int
-
The hash code for this object.
no setteroverride
- lockAspectRatio → bool
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- showGrid → bool
-
final
Methods
-
copyWith(
{CropRect? cropRect, bool? enableCrop, double? aspectRatio, bool? freeform, bool? showGrid, bool? lockAspectRatio}) → CropOptions -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override
Constants
- landscape → const CropOptions
- portrait → const CropOptions
- square → const CropOptions
- widescreen → const CropOptions