crossAxisAlignment property
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;
Implementation
set crossAxisAlignment(CrossAxisAlignment value) {
if (_crossAxisAlignment != value) {
_crossAxisAlignment = value;
markNeedsLayout();
}
}