StacAlignmentDirectional enum

Directional alignment options that adapt to text direction.

This enum provides alignment values that automatically adjust based on the text direction (LTR or RTL). Use start and end values instead of left and right to ensure proper alignment in both left-to-right and right-to-left languages.

In LTR languages:

  • start corresponds to left
  • end corresponds to right

In RTL languages:

  • start corresponds to right
  • end corresponds to left
Inheritance
Available extensions

Values

topStart → const StacAlignmentDirectional

Align to the top-start corner (top-left in LTR, top-right in RTL).

topCenter → const StacAlignmentDirectional

Align to the top-center.

topEnd → const StacAlignmentDirectional

Align to the top-end corner (top-right in LTR, top-left in RTL).

centerStart → const StacAlignmentDirectional

Align to the center-start (center-left in LTR, center-right in RTL).

center → const StacAlignmentDirectional

Align to the center.

centerEnd → const StacAlignmentDirectional

Align to the center-end (center-right in LTR, center-left in RTL).

bottomStart → const StacAlignmentDirectional

Align to the bottom-start corner (bottom-left in LTR, bottom-right in RTL).

bottomCenter → const StacAlignmentDirectional

Align to the bottom-center.

bottomEnd → const StacAlignmentDirectional

Align to the bottom-end corner (bottom-right in LTR, bottom-left in RTL).

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