HorizontalAlignment enum

Defines horizontal alignment options.

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

Inheritance

Constructors

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

Values

left → const HorizontalAlignment

Aligns content to the left.

const HorizontalAlignment(0)
center → const HorizontalAlignment

Aligns content to the horizontal center.

const HorizontalAlignment(1)

Aligns content to the right.

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