dispatchScrollStartNotification method

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