crossAxisDirection property

AxisDirection? crossAxisDirection

The direction in which child should be laid out in the cross axis.

If the axisDirection is AxisDirection.down or AxisDirection.up, this property defaults to AxisDirection.left if the ambient Directionality is TextDirection.rtl and AxisDirection.right if the ambient Directionality is TextDirection.ltr.

If the axisDirection is AxisDirection.left or AxisDirection.right, this property defaults to AxisDirection.down.


final AxisDirection? crossAxisDirection;