crossAxisDirection property

AxisDirection get crossAxisDirection

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

For example, if the axisDirection is AxisDirection.down, this property is typically AxisDirection.left if the ambient TextDirection is TextDirection.rtl and AxisDirection.right if the ambient TextDirection is TextDirection.ltr.

Implementation

AxisDirection get crossAxisDirection => _crossAxisDirection;
set crossAxisDirection (AxisDirection value)

Implementation

set crossAxisDirection(AxisDirection value) {
  if (value == _crossAxisDirection) {
    return;
  }
  _crossAxisDirection = value;
  markNeedsLayout();
}