mainAxisAlignment property

  1. @override
MainAxisAlignment mainAxisAlignment
final

How the children should be placed along the main axis.

For example, MainAxisAlignment.start, the default, places the children at the start (i.e., the left for a Row or the top for a Column) of the main axis.

Implementation

@override
final MainAxisAlignment mainAxisAlignment;