axisDirection property

AxisDirection axisDirection
final

The direction in which the scrollOffset and remainingPaintExtent increase.

This sample shows a CustomScrollView, with Radio buttons in the AppBar.bottom that change the AxisDirection to illustrate different configurations.
link

To create a local project with this code sample, run:
flutter create --sample=rendering.SliverConstraints.axisDirection.1 mysample

Implementation

final AxisDirection axisDirection;