dispatchScrollUpdateNotification method

  1. @override
void dispatchScrollUpdateNotification (ScrollMetrics metrics, BuildContext context, double scrollDelta)
override

Dispatch a ScrollUpdateNotification with the given metrics and scroll delta.

Implementation

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