crossAxisDirection property

AxisDirection? crossAxisDirection
final

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.

Implementation

final AxisDirection? crossAxisDirection;