axisDirection property Null safety

AxisDirection axisDirection

The direction in which the children are laid out.

For example, if the axisDirection is AxisDirection.down, each child will be laid out below the next, vertically.

Implementation

AxisDirection get axisDirection => _axisDirection;
void axisDirection=(AxisDirection value)

Implementation

set axisDirection(AxisDirection value) {
  assert(value != null);
  if (_axisDirection == value)
    return;
  _axisDirection = value;
  markNeedsLayout();
}