alignment property

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

Implementation

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