OverscrollNotification constructor
- required ScrollMetrics metrics,
- required BuildContext context,
- DragUpdateDetails? dragDetails,
- required double overscroll,
- double velocity = 0.0,
Creates a notification that a Scrollable widget has changed its scroll position outside of its scroll bounds.
Implementation
OverscrollNotification({
required super.metrics,
required BuildContext super.context,
this.dragDetails,
required this.overscroll,
this.velocity = 0.0,
}) : assert(overscroll.isFinite),
assert(overscroll != 0.0);