Available Values
| Value | Description |
|---|---|
topLeft | Top-left corner of the rectangle. |
topCenter | Center of the top edge. |
topRight | Top-right corner of the rectangle. |
centerLeft | Center of the left edge. |
center | Center of the rectangle. |
centerRight | Center of the right edge. |
bottomLeft | Bottom-left corner of the rectangle. |
bottomCenter | Center of the bottom edge. |
bottomRight | Bottom-right corner of the rectangle. |
Example
Alignment Examples
Top Alignments
With Container
With Stack Positioned
For text-direction-aware alignment (RTL support), use StacAlignmentDirectional instead.