direction property

AxisDirection direction
final

The direction in which this widget scrolls.

For example, if the Scrollable.axisDirection is AxisDirection.down, increasing the scroll position will cause content below the bottom of the viewport to become visible through the viewport. Similarly, if the axisDirection is AxisDirection.right, increasing the scroll position will cause content beyond the right edge of the viewport to become visible through the viewport.

Defaults to AxisDirection.down.

Implementation

final AxisDirection direction;