Flutter Material UI CrossAxisAlignment Enum

How the children should be placed along the cross axis in a flex layout.

CrossAxisAlignment Constants

  • CrossAxisAlignment.baseline: Place the children along the cross axis such that their baselines match.

  • CrossAxisAlignment.center: Place the children so that their centers align with the middle of the cross axis.

  • CrossAxisAlignment.end: Place the children as close to the end of the cross axis as possible.

  • CrossAxisAlignment.start: Place the children with their start edge aligned with the start side of the cross axis.

  • CrossAxisAlignment.stretch: Require the children to fill the cross axis.

  • CrossAxisAlignment.values: A constant List of the values in this enum, in order of their declaration.