ImageManipulationSettings class

Constructors

ImageManipulationSettings({bool enableCropping = true, CropAspectRatio aspectRatio = const CropAspectRatio(ratioX: 1.0, ratioY: 1.0), int maxWidth = 800, int maxHeight = 800, int compressQuality = 75})
The settings how the image shall be modified before upload
const

Properties

aspectRatio → CropAspectRatio
The requested aspect ratio for the image
final
compressQuality int
The requested compressQuality of the image 0..100
final
enableCropping bool
If true, a cropping screen will appear after image selection (with maxWidth, maxHeight & aspectRatio setting applied)
final
hashCode int
The hash code for this object.
no setterinherited
maxHeight int
The requested maxHeight of the image
final
maxWidth int
The requested maxWidth of the 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
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited