ImageFormatTValue enum
Constructors
- ImageFormatTValue(String _value)
-
const
Values
- Jpeg → const ImageFormatTValue
-
Convert an image to JPEG.
const ImageFormatTValue('jpeg')
- Png → const ImageFormatTValue
-
Convert an image to PNG.
const ImageFormatTValue('png')
- Webp → const ImageFormatTValue
-
Convert an image to WebP.
const ImageFormatTValue('webp')
- Auto → const ImageFormatTValue
-
Try converting to WebP or AVIF and fall back to JPEG when a user browser provides no WebP or AVIF support.
const ImageFormatTValue('auto')
- Preserve → const ImageFormatTValue
-
Returns the image in the original format if it is PNG or JPEG, otherwise coerces to PNG or JPEG. This option is useful when you need to save the image, rather than display it to the end-user.
const ImageFormatTValue('preserve')
Properties
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
-
values
→ const List<
ImageFormatTValue> - A constant List of the values in this enum, in order of their declaration.