alignment property Null safety

AlignmentGeometry? alignment
final

🔛 This IconToo will side-align its glyph according to ambient or assigned textDirection.

Considering it is also trueSized by design, default should be a desirable result, but override this value if necessary.

A standard Icon centers its IconData glyph in a square SizedBox, which is the root issue for non-square icons.

Implementation

final AlignmentGeometry? alignment;