alignment property

AlignmentGeometry get alignment

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;
set alignment (AlignmentGeometry value)

Implementation

set alignment(AlignmentGeometry value) {
  if (value == _alignment) {
    return;
  }
  _alignment = value;
  _markNeedResolution();
}