VerticalAlignment enum

Defines vertical alignment options.

Each value represents a vertical positioning strategy and is associated with a numeric raw value for interoperability with external systems (e.g., platform channels or serialized data).

Inheritance

Constructors

VerticalAlignment(int rawValue)
Creates a VerticalAlignment with the given integer representation.
const

Values

top → const VerticalAlignment

Aligns content to the top.

const VerticalAlignment(0)
middle → const VerticalAlignment

Aligns content to the vertical center.

const VerticalAlignment(1)
bottom → const VerticalAlignment

Aligns content to the bottom.

const VerticalAlignment(2)

Properties

hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
no setterinherited
rawValue int
Integer representation of this alignment.
final
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<VerticalAlignment>
A constant List of the values in this enum, in order of their declaration.