Indicates that a scrollable descendant is scrolling.

See also:

Inheritance

Constructors

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

Creates a notification about scrolling.

Properties

depth → int

The number of scrollable widgets that have already received this notification. Typically listeners only respond to notifications with depth = 0.

read-only
dragEndDetails → DragEndDetails

The details from the underlying DragGestureRecognizer gesture, if the notification ultimately came from a DragGestureRecognizer.onEnd handler; otherwise null.

read-only
dragStartDetails → DragStartDetails

The details from the underlying DragGestureRecognizer gesture, if the notification ultimately came from a DragGestureRecognizer.onStart handler; otherwise null.

read-only
dragUpdateDetails → DragUpdateDetails

The details from the underlying DragGestureRecognizer gesture, if the notification ultimately came from a DragGestureRecognizer.onUpdate handler; otherwise null.

read-only
kind → ScrollNotificationKind

Indicates if we're at the start, middle, or end of a scroll.

read-only
scrollable → ScrollableState

The scrollable that scrolled.

read-only
hashCode → int

Get a hash code for this object.

read-only, inherited
runtimeType → Type

A representation of the runtime type of the object.

read-only, inherited

Operators

operator ==(other) → bool

The equality operator.

inherited

Methods

visitAncestor(Element element) → bool

Applied to each ancestor of the dispatch target. Dispatches this Notification to ancestor NotificationListener widgets.

dispatch(BuildContext target) → void

Start bubbling this notification at the given build context.

inherited
noSuchMethod(Invocation invocation) → dynamic

Invoked when a non-existent method or property is accessed.

inherited
toString() → String

Returns a string representation of this object.

inherited