direction property

  1. @override
Axis get direction
override

The direction to use as the main axis.

Implementation

@override
Axis get direction => _direction;
  1. @override
set direction (Axis value)
override

Implementation

@override
set direction(Axis value) {
  assert(value != null);
  if (_direction != value) {
    _direction = value;
    markNeedsLayout();
  }
}