alignment property

Alignment get alignment

Placement of the child within the leftover space, from (-1, -1) top-left through (0, 0) center to (1, 1) bottom-right.

Implementation

Alignment get alignment => _alignment;
set alignment (Alignment value)

Implementation

set alignment(Alignment value) {
  if (_alignment == value) return;
  _alignment = value;
  markNeedsLayout();
}