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