scrollDirection property Null safety
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.
Defaults to Axis.vertical.
Implementation
final Axis? scrollDirection;