getScrollbarDirection method
Returns the Axis of the child scroll view, or null if the current scroll controller does not have any attached positions.
Implementation
@protected
Axis? getScrollbarDirection() {
assert(_cachedController != null);
if (_cachedController!.hasClients) {
return _cachedController!.position.axis;
}
return null;
}