crossAxisAlignment property

CrossAxisAlignment crossAxisAlignment

How the children should be placed along the cross axis.

If the direction is Axis.horizontal, and the crossAxisAlignment is either CrossAxisAlignment.start or CrossAxisAlignment.end, then the verticalDirection must not be null.

If the direction is Axis.vertical, and the crossAxisAlignment is either CrossAxisAlignment.start or CrossAxisAlignment.end, then the textDirection must not be null.

Implementation

CrossAxisAlignment get crossAxisAlignment => _crossAxisAlignment;
void crossAxisAlignment=(CrossAxisAlignment value)

Implementation

set crossAxisAlignment(CrossAxisAlignment value) {
  if (_crossAxisAlignment != value) {
    _crossAxisAlignment = value;
    markNeedsLayout();
  }
}