AspectRatio enum

Aspect ratio for image generation.

Inheritance
Available extensions

Values

a16_9 → const AspectRatio

16:9

const AspectRatio("16:9")
a1_1 → const AspectRatio

1:1

const AspectRatio("1:1")
a21_9 → const AspectRatio

21:9

const AspectRatio("21:9")
a2_3 → const AspectRatio

2:3

const AspectRatio("2:3")
a3_2 → const AspectRatio

3:2

const AspectRatio("3:2")
a4_5 → const AspectRatio

4:5

const AspectRatio("4:5")
a5_4 → const AspectRatio

5:4

const AspectRatio("5:4")
a9_16 → const AspectRatio

9:16

const AspectRatio("9:16")
a9_21 → const AspectRatio

9:21

const AspectRatio("9:21")

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