ScrollController

controller

ScrollController

();

ListView

builder

controller:

controller

itemBuilder:

BuildContext

context

int

index

return

Text

'Item

$index

);

);

Code after migration:

// ScrollBehavior can be copied and adjusted.

final

ScrollController

controller

ScrollController

();

ScrollConfiguration

behavior:

ScrollConfiguration

of

context

copyWith

scrollbars:

false

),

child:

ListView