UserScrollNotification constructor

UserScrollNotification({@required ScrollMetrics metrics, @required BuildContext context, ScrollDirection direction })

Creates a notification that the user has changed the direction in which they are scrolling.

Implementation

UserScrollNotification({
  @required ScrollMetrics metrics,
  @required BuildContext context,
  this.direction,
}) : super(metrics: metrics, context: context);