scrollDirection property
final
The Axis this controller is configured for ScrollViews to automatically inherit.
Used in conjunction with automaticallyInheritForPlatforms. If the current TargetPlatform is not included in automaticallyInheritForPlatforms, this is ignored.
When null, no ScrollView in any Axis will automatically inherit this controller. This is dissimilar to PrimaryScrollController.none. When a PrimaryScrollController is inherited, ScrollView will insert PrimaryScrollController.none into the tree to prevent further descendant ScrollViews from inheriting the current PrimaryScrollController.
For the direction in which active scrolling may be occurring, see ScrollDirection.
Defaults to Axis.vertical.
Implementation
final Axis? scrollDirection;