alignment property

WrapAlignment alignment
final

How the children within a run should be placed in the main axis.

For example, if alignment is WrapAlignment.center, the children in each run are grouped together in the center of their run in the main axis.

Defaults to WrapAlignment.start.

See also:

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

Implementation

final WrapAlignment alignment