crossAxisDirection property

AxisDirection 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;
void crossAxisDirection= (AxisDirection value)

Implementation

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