crossAxisAlignment property

CrossAxisAlignment crossAxisAlignment

How the children should be placed along the cross axis.

If 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) {
  assert(value != null); // ignore: unnecessary_null_comparison
  if (_crossAxisAlignment != value) {
    _crossAxisAlignment = value;
    markNeedsLayout();
  }
}