dispatchScrollStartNotification method

  1. @override
void dispatchScrollStartNotification (ScrollMetrics metrics, BuildContext context)
override

Dispatch a ScrollStartNotification with the given metrics.

Implementation

@override
void dispatchScrollStartNotification(ScrollMetrics metrics, BuildContext context) {
  final dynamic lastDetails = _controller.lastDetails;
  assert(lastDetails is DragStartDetails);
  ScrollStartNotification(metrics: metrics, context: context, dragDetails: lastDetails).dispatch(context);
}