NavigationGate class

Process-wide "a route transition is in progress" flag.

Properties

hashCode → int
The hash code for this object.
no setterinherited
isNavigating → bool
no setter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

addConsumer() → Object
Register interest.
begin() → int
Open the gate for one transition.
end(int token) → void
Close the gate, but only if token is the current hold.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
removeConsumer(Object handle) → void
resetForTest() → void
Tests only.
toString() → String
A string representation of this object.
inherited

Operators

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

Static Properties

instance → NavigationGate
final

Constants

failsafe → const Duration
How long a hold may last before it is force-released.