runAlignment property

WrapAlignment runAlignment

How the runs themselves should be placed in the cross axis.

For example, if runAlignment is WrapAlignment.center, the runs are grouped together in the center of the overall RenderWrap in the cross axis.

Defaults to WrapAlignment.start.

See also:

  • alignment, which controls how the children within each run are placed relative to each other in the main axis.
  • crossAxisAlignment, which controls how the children within each run are placed relative to each other in the cross axis.

Implementation

WrapAlignment get runAlignment => _runAlignment;
void runAlignment=(WrapAlignment value)

Implementation

set runAlignment (WrapAlignment value) {
  if (_runAlignment == value) {
    return;
  }
  _runAlignment = value;
  markNeedsLayout();
}