ImageFormats enum

Inheritance

Constructors

ImageFormats()
const

Values

original → const ImageFormats

The size of the original image is given with the attributes width and height.

large → const ImageFormats

This image has a maximum width of 940px and a maximum height of 650px. It has the aspect ratio of the original image.

large2x → const ImageFormats

This image has a maximum width of 1880px and a maximum height of 1300px. It has the aspect ratio of the original image.

medium → const ImageFormats

This image has a height of 350px and a flexible width. It has the aspect ratio of the original image.

small → const ImageFormats

This image has a height of 130px and a flexible width. It has the aspect ratio of the original image.

portrait → const ImageFormats

This image has a width of 800px and a height of 1200px.

landscape → const ImageFormats

This image has a width of 1200px and height of 627px.

tiny → const ImageFormats

This image has a width of 280px and height of 200px.

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