NavigationNotification class

A notification that a change in navigation has taken place.

Specifically, this notification indicates that at least one of the following has occurred:

  • That route stack of a Navigator has changed in any way.
  • The ability to pop has changed, such as controlled by PopScope.
Inheritance

Constructors

Creates a notification that some change in navigation has happened.
const

Properties

canHandlePop bool
Indicates that the originator of this Notification is capable of handling a navigation pop.
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

debugFillDescription(List<String> description) → void
Add additional information to the given description for use by toString.
inherited
dispatch(BuildContext? target) → void
Start bubbling this notification at the given build context.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
override

Operators

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