ImageDecoding enum

Defines how images are decoded by the renderer or browser.

Mirrors the HTML decoding attribute used in <img> tags.

Inheritance
Available extensions

Values

sync → const ImageDecoding

Decode the image synchronously.

const ImageDecoding('sync')
async → const ImageDecoding

Decode the image asynchronously to avoid blocking rendering.

const ImageDecoding('async')
auto → const ImageDecoding

Let the browser or renderer choose the best decoding strategy automatically.

const ImageDecoding('auto')

Properties

hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
no setterinherited
name String

Available on Enum, provided by the EnumName extension

The name of the enum value.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
value String
The string representation of this decoding mode.
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

Constants

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