RequestSizeOptions enum

Enum representing different options for resizing images.

Inheritance
Available extensions

Values

resizeFit → const RequestSizeOptions

Resize the image to fit within the specified dimensions while maintaining the aspect ratio. Parts of the image may be letterboxed.

resizeInside → const RequestSizeOptions

Resize the image to fit within the specified dimensions while maintaining the aspect ratio. The entire image is visible, but it may not fill the specified dimensions.

resizeExact → const RequestSizeOptions

Resize the image exactly to the specified dimensions. The aspect ratio may not be preserved, resulting in potential distortion.

resizeCentreCrop → const RequestSizeOptions

Resize the image to fill the specified dimensions while maintaining the aspect ratio. The image is cropped to fill the specified dimensions, with the focus centered.

Properties

hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
no setterinherited
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

Constants

values → const List<RequestSizeOptions>
A constant List of the values in this enum, in order of their declaration.