alignment property
Anchor
get
alignment
How the child will be positioned within the current component.
Note: unlike Flutter's Alignment, the top-left corner of the component
has relative coordinates (0, 0)
, while the bottom-right corner has
coordinates (1, 1)
.
Implementation
Anchor get alignment => _alignment;
set
alignment
(Anchor value)
Implementation
set alignment(Anchor value) {
_alignment = value;
_updateChildAnchor();
_updateChildPosition();
}