HLCropOptions class
Constructors
-
HLCropOptions({CroppingStyle? croppingStyle, CropAspectRatio? aspectRatio, List<
CropAspectRatioPreset> ? aspectRatioPresets, double? compressQuality, CompressFormat? compressFormat, MaxSizeOutput? maxSizeOutput}) -
const
Properties
- aspectRatio → CropAspectRatio?
-
Specifies the desired aspect ratio for cropping.
final
-
aspectRatioPresets
→ List<
CropAspectRatioPreset> ? -
Provides a set of predefined aspect ratio options for cropping.
final
- compressFormat → CompressFormat?
-
Specifies the image format for the exported image: CompressFormat.jpg, CompressFormat.png.
final
- compressQuality → double?
-
Determines the compression quality for the exported image.
final
- croppingStyle → CroppingStyle?
-
Cropping style: CroppingStyle.normal, CroppingStyle.circular.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- maxSizeOutput → MaxSizeOutput?
-
Sets the maximum width and maximum height for the exported image.
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
-
toMap(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited