ScrollNotification({ScrollableState scrollable, ScrollNotificationKind kind, details })

Creates a notification about scrolling.

Source

ScrollNotification({ this.scrollable, this.kind, dynamic details }) : _details = details {
  assert(scrollable != null);
  assert(kind != null);
  assert(details == null
      || (kind == ScrollNotificationKind.started && details is DragStartDetails)
      || (kind == ScrollNotificationKind.updated && details is DragUpdateDetails)
      || (kind == ScrollNotificationKind.ended && details is DragEndDetails));
}