alignment property Null safety
How to align the image within its bounds.
If this is set to a text-direction-dependent value, textDirection must not be null.
Implementation
AlignmentGeometry get alignment => _alignment;
Implementation
set alignment(AlignmentGeometry value) {
assert(value != null);
if (value == _alignment) {
return;
}
_alignment = value;
_markNeedResolution();
}