Further more, ScrollBehavior subclasses MaterialScrollBehavior and
CupertinoScrollBehavior have been made public, allowing developers to extend
and build upon the other existing ScrollBehaviors in the framework. These
subclasses were previously private.

Description of change

The previous approach called on developers to create their own Scrollbars on
all platforms. In some use cases, a ScrollController would need to be provided
to the Scrollbar and the scrollable widget.

final

ScrollController

controller

ScrollController

();

Scrollbar

controller:

controller

child:

ListView

builder

controller:

controller

itemBuilder:

BuildContext

context

int

index

return

Text

'Item

$index