ScrollConfiguration constructor Null safety

const ScrollConfiguration(
  1. {Key? key,
  2. required ScrollBehavior behavior,
  3. required Widget child}
)

Creates a widget that controls how Scrollable widgets behave in a subtree.

The behavior and child arguments must not be null.

Implementation

const ScrollConfiguration({
  super.key,
  required this.behavior,
  required super.child,
});