alignment property Null safety

Alignment alignment

The alignment of the origin of the coordinate system around which the rotation occurs, relative to the size of the box.

For example, to set the origin of the rotation to top right corner, use an alignment of (1.0, -1.0) or use Alignment.topRight


final Alignment alignment;