StacAlignment enum

Fixed alignment options that do not adapt to text direction.

This enum provides absolute alignment values that remain constant regardless of the text direction (LTR or RTL). Use these values when you need precise positioning that should not change based on locale.

For alignment that adapts to text direction, use StacAlignmentDirectional instead, which provides start and end values that automatically adjust for different languages.

Inheritance
Available extensions

Values

topLeft → const StacAlignment

Align to the top-left corner.

topCenter → const StacAlignment

Align to the top-center.

topRight → const StacAlignment

Align to the top-right corner.

centerLeft → const StacAlignment

Align to the center-left.

center → const StacAlignment

Align to the center.

centerRight → const StacAlignment

Align to the center-right.

bottomLeft → const StacAlignment

Align to the bottom-left corner.

bottomCenter → const StacAlignment

Align to the bottom-center.

bottomRight → const StacAlignment

Align to the bottom-right corner.

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

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