Voyager class
This class is a composite product of RouterPlugin
s for the given router's path -
this means all the information resolved from the navigation file that is relevant to creating
new widget.
Once assembled the variables are locked - they can be read but you can't put more.
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- parent → Voyager?
-
parent voyager instance
final
- path → String
-
path of this voyager
final
-
pathParams
→ Map<
String, dynamic> -
params of the path
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- type ↔ String
-
Voyager's type
getter/setter pair
Methods
-
dispose(
) → void - dispose this voyager instance
-
lock(
) → void - lock this voyager instance
-
merge(
Voyager other) → void - merges other Voyager instance into this one
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
onDispose(
VoidCallback callback) → void - register dispose callback
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
-
operator [](
String key) → dynamic - access field resolved by VoyagerPlugin
-
operator []=(
String key, dynamic value) → void - set field when accessing it from VoyagerPlugin
Static Properties
- nothing → VoyagerNothing
-
nothing
final