The Stac Alignment class represents a point within a rectangle. It’s used to align child widgets within their parent.Documentation Index
Fetch the complete documentation index at: https://docs.stac.dev/llms.txt
Use this file to discover all available pages before exploring further.
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.