Generic scrolling containers like Block will apply this function to the
Scrollable they create. It can be used to add widgets that wrap the
Scrollable, like scrollbars or overscroll indicators. By default the
scrollWidget
parameter is returned unchanged.
Source
Widget wrapScrollWidget(BuildContext context, Widget scrollWidget) => scrollWidget;