MaterialScrollBehavior constructor

const MaterialScrollBehavior()

Creates a MaterialScrollBehavior that decorates Scrollables with StretchingOverscrollIndicators and Scrollbars based on the current platform and provided ScrollableDetails.

ThemeData.useMaterial3 specifies the overscroll indicator that is used on TargetPlatform.android, which defaults to true, resulting in a StretchingOverscrollIndicator. Setting ThemeData.useMaterial3 to false will instead use a GlowingOverscrollIndicator.

Implementation

const MaterialScrollBehavior();