GlowingOverscrollIndicator constructor

const GlowingOverscrollIndicator(
  1. {Key? key,
  2. bool showLeading = true,
  3. bool showTrailing = true,
  4. required AxisDirection axisDirection,
  5. required Color color,
  6. ScrollNotificationPredicate notificationPredicate = defaultScrollNotificationPredicate,
  7. Widget? child}
)

Creates a visual indication that a scroll view has overscrolled.

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 GlowingOverscrollIndicator({
  super.key,
  this.showLeading = true,
  this.showTrailing = true,
  required this.axisDirection,
  required this.color,
  this.notificationPredicate = defaultScrollNotificationPredicate,
  this.child,
});