alignment property
final
The alignment of the origin, relative to the size of the box.
This is equivalent to setting an origin based on the size of the box. If it is specified at the same time as the origin, both are applied.
An AlignmentDirectional.centerStart value is the same as an Alignment
whose Alignment.x value is -1.0
if Directionality.of returns
TextDirection.ltr, and 1.0
if Directionality.of returns
TextDirection.rtl. Similarly AlignmentDirectional.centerEnd is the
same as an Alignment whose Alignment.x value is 1.0
if
Directionality.of returns TextDirection.ltr, and -1.0
if
Directionality.of returns TextDirection.rtl.
Implementation
final AlignmentGeometry? alignment;