dispatchOverscrollNotification method

  1. @override
void dispatchOverscrollNotification(
  1. ScrollMetrics metrics,
  2. BuildContext context,
  3. 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 as DragUpdateDetails).dispatch(context);
}