ImageType enum

Inheritance

Constructors

ImageType(String format)
const

Values

apng → const ImageType

Animated Portable Network Graphics (APNG)

const ImageType('image/apng')
avif → const ImageType

AV1 Image File Format (AVIF)

const ImageType('image/avif')
gif → const ImageType

Graphics Interchange Format (GIF)

const ImageType('image/gif')
jpeg → const ImageType

Joint Photographic Expert Group image (JPEG)

const ImageType('image/jpeg')
png → const ImageType

Portable Network Graphics (PNG)

const ImageType('image/png')
svg → const ImageType

Scalable Vector Graphics (SVG)

const ImageType('image/svg+xml')
webp → const ImageType

Web Picture format (WEBP)

const ImageType('image/webp')

Properties

format String
final
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<ImageType>
A constant List of the values in this enum, in order of their declaration.