Alignment2D enum

Enum for text alignment options.

Inheritance
Available extensions

Values

topLeft → const Alignment2D
const Alignment2D(Alignment.leading, Alignment.leading)
topCenter → const Alignment2D
const Alignment2D(Alignment.leading, Alignment.center)
topRight → const Alignment2D
const Alignment2D(Alignment.leading, Alignment.trailing)
middleLeft → const Alignment2D
const Alignment2D(Alignment.center, Alignment.leading)
middleCenter → const Alignment2D
const Alignment2D(Alignment.center, Alignment.center)
middleRight → const Alignment2D
const Alignment2D(Alignment.center, Alignment.trailing)
bottomLeft → const Alignment2D
const Alignment2D(Alignment.trailing, Alignment.leading)
bottomCenter → const Alignment2D
const Alignment2D(Alignment.trailing, Alignment.center)
bottomRight → const Alignment2D
const Alignment2D(Alignment.trailing, Alignment.trailing)

Properties

hashCode int
The hash code for this object.
no setterinherited
horizontal Alignment
final
index int
A numeric identifier for the enumerated value.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
vertical Alignment
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<Alignment2D>
A constant List of the values in this enum, in order of their declaration.