NavigationDestination extension type

The NavigationDestination interface of the Navigation API represents the destination being navigated to in the current navigation.

It is accessed via the NavigateEvent.destination property.

on
Implemented types

Properties

hashCode int
The hash code for this object.
no setterinherited
id String
no setter
index int
no setter
key String
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sameDocument bool
no setter
url String
no setter

Methods

getState() JSAny?
The getState() method of the NavigationDestination interface returns a clone of the developer-supplied state associated with the destination NavigationHistoryEntry, or navigation operation (e.g. Navigation.navigate) as appropriate.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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