UserScrollNotification constructor

UserScrollNotification({
  1. required ScrollMetrics metrics,
  2. required BuildContext context,
  3. required ScrollDirection direction,
})

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

Implementation

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