ScrollConfiguration({Key key, ScrollConfigurationDelegate delegate, @required Widget child })

Creates a widget that controls descendant Scrollable widgets.

If the delegate argument is null, the scroll configuration for this subtree is controlled by the default implementation of ScrollConfigurationDelegate.

Source

ScrollConfiguration({
  Key key,
  this.delegate,
  @required Widget child
}) : super(key: key, child: child);