OverscrollNotification class Null safety

A notification that a Scrollable widget has not changed its scroll position because the change would have caused its scroll position to go outside of its scroll bounds.

See also:

Inheritance

Constructors

OverscrollNotification({required ScrollMetrics metrics, required BuildContext context, DragUpdateDetails? dragDetails, required double overscroll, double velocity = 0.0})
Creates a notification that a Scrollable widget has changed its scroll position outside of its scroll bounds.

Properties

context BuildContext?
The build context of the widget that fired this notification.
finalinherited
depth int
The number of viewports that this notification has bubbled through.
read-onlyinherited
dragDetails DragUpdateDetails?
If the Scrollable overscrolled because of a drag, the details about that drag update.
final
hashCode int
The hash code for this object.
read-onlyinherited
metrics ScrollMetrics
A description of a Scrollable's contents, useful for modeling the state of its viewport.
finalinherited
overscroll double
The number of logical pixels that the Scrollable avoided scrolling.
final
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited
velocity double
The velocity at which the ScrollPosition was changing when this overscroll happened.
final

Methods

debugFillDescription(List<String> description) → void
Add additional information to the given description for use by toString.
override
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
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited