apply static method
Use this function in MaterialApp for applying custom scroll behavior.
Implementation
static Widget Function(BuildContext, Widget?) apply() {
return (context, child) =>
ScrollConfiguration(behavior: CustomScrollBehavior(), child: child!);
}