StretchingOverscrollIndicator constructor
- Key? key,
- required AxisDirection axisDirection,
- ScrollNotificationPredicate notificationPredicate = defaultScrollNotificationPredicate,
- Clip clipBehavior = Clip.hardEdge,
- Widget? child,
Creates a visual indication that a scroll view has overscrolled by applying a stretch transformation to the content.
In order for this widget to display an overscroll indication, the child
widget must contain a widget that generates a ScrollNotification, such
as a ListView or a GridView.
Implementation
const StretchingOverscrollIndicator({
super.key,
required this.axisDirection,
this.notificationPredicate = defaultScrollNotificationPredicate,
this.clipBehavior = Clip.hardEdge,
this.child,
});