scrollDirection property
For the direction of the scroll, use Axis.horizontal for left-to-right scrolling, and Axis.vertical for top-to-bottom scrolling.
Implementation
final Axis scrollDirection;
For the direction of the scroll, use Axis.horizontal for left-to-right scrolling, and Axis.vertical for top-to-bottom scrolling.
final Axis scrollDirection;