runAlignment property Null safety
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;
Implementation
set runAlignment (WrapAlignment value) {
assert(value != null);
if (_runAlignment == value) {
return;
}
_runAlignment = value;
markNeedsLayout();
}