getScrollPhysics method

  1. @override
SheetPhysics getScrollPhysics(
  1. BuildContext context
)
override

The scroll physics to use for the platform given by getPlatform.

Defaults to RangeMaintainingScrollPhysics mixed with BouncingScrollPhysics on iOS and ClampingScrollPhysics on Android.

Implementation

@override
SheetPhysics getScrollPhysics(BuildContext context) {
  return _clampingPhysics;
}