ScrollControllerCallback typedef
Signature for when a ScrollController has added or removed a ScrollPosition.
Since a ScrollPosition is not created and attached to a controller until the Scrollable is built, this can be used to respond to the position being attached to a controller.
By having access to the position directly, additional listeners can be applied to aspects of the scroll position, like ScrollPosition.isScrollingNotifier.
Used by ScrollController.onAttach and ScrollController.onDetach.
Implementation
typedef ScrollControllerCallback = void Function(ScrollPosition position);