getScrollPhysics method
Implementation
ScrollPhysics? getScrollPhysics() {
final ScrollBehavior configuration = ScrollConfiguration.of(context);
ScrollPhysics temp = configuration.getScrollPhysics(context);
if (physics != null) {
temp = physics!.applyTo(temp);
}
return temp;
}