TransformOptions class
Specifies the dimensions and the resize mode of the requesting image.
Constructors
- TransformOptions({int? width, int? height, ResizeMode? resize, int? quality, RequestImageFormat? format})
-
Specifies the dimensions and the resize mode of the requesting image.
const
Properties
- format → RequestImageFormat?
-
Specify the format of the image requested.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- height → int?
-
Height of requesting image to be.
final
- quality → int?
-
Set the quality of the returned image, this is percentage based, default 80
final
- resize → ResizeMode?
-
Specifies how image cropping should be handled when performing image transformations.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- width → int?
-
Width of the requesting image to be.
final
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