dispatchOverscrollNotification method

  1. @override
void dispatchOverscrollNotification (ScrollMetrics metrics, BuildContext context, double overscroll)
override

Dispatch an OverscrollNotification with the given metrics and overscroll.

Implementation

@override
void dispatchOverscrollNotification(ScrollMetrics metrics, BuildContext context, double overscroll) {
  final dynamic lastDetails = _controller.lastDetails;
  assert(lastDetails is DragUpdateDetails);
  OverscrollNotification(metrics: metrics, context: context, overscroll: overscroll, dragDetails: lastDetails).dispatch(context);
}