alignment property Null safety

AlignmentGeometry alignment
final

How to align the child within its parent's bounds.

An alignment of (-1.0, -1.0) aligns the child to the top-left corner of its parent's bounds. An alignment of (1.0, 0.0) aligns the child to the middle of the right edge of its parent's bounds.

Defaults to Alignment.center.

See also:

Implementation

final AlignmentGeometry alignment;