ImageFormats enum

Constants

landscape → const ImageFormats

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

const ImageFormats(6)
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.

const ImageFormats(1)
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.

const ImageFormats(2)
medium → const ImageFormats

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

const ImageFormats(3)
original → const ImageFormats

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

const ImageFormats(0)
portrait → const ImageFormats

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

const ImageFormats(5)
small → const ImageFormats

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

const ImageFormats(4)
tiny → const ImageFormats

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

const ImageFormats(7)
values → const List<ImageFormats>

A constant List of the values in this enum, in order of their declaration.

const List<ImageFormats>

Properties

index → int

The integer index of this enum.

final
hashCode → int
The hash code for this object. [...]
read-only, inherited
runtimeType → Type
A representation of the runtime type of the object.
read-only, inherited

Methods

toString() → String
Returns a string representation of this object.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited

Operators

operator ==(dynamic other) → bool
The equality operator. [...]
inherited