ViewportNotificationMixin mixin Null safety

Mixin for Notifications that track how many RenderAbstractViewport they have bubbled through.

This is used by ScrollNotification and OverscrollIndicatorNotification.

Superclass Constraints
Implemented by

Constructors

ViewportNotificationMixin()

Properties

depth int
The number of viewports that this notification has bubbled through. [...]
read-only
hashCode int
The hash code for this object. [...]
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

visitAncestor(Element element) bool
Applied to each ancestor of the dispatch target. [...]
override
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
toString() String
A string representation of this object. [...]
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited

Operators

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