VoyagerPage class
an outcome of parsing RouteInformation
- Implemented types
- Annotations
Constructors
- VoyagerPage(String path, {Object? argument, String id = ""})
-
default constructor
const
Properties
- argument → Object?
-
page argument
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- id → String
-
extra id (e.g. if you want to have duplicate entries on the stack)
final
-
key
→ ValueKey<
String> -
a key for the corrensponding Page<dynamic>
no setter
- path → String
-
path representing this page
final
-
props
→ List<
Object?> -
The list of properties that will be used to determine whether
two instances are equal.
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- stringify → bool?
-
If set to
true
, the toString method will be overridden to output this instance's props.no setter
Methods
-
asPages(
VoyagerRouter router, {List< Object> ? scopes, required VoyagerPageBuilder defaultPageBuilder}) → List<Page> -
converts the state to a list that can be used by e.g. Navigator
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toPathList(
) → List< String> -
converts the stack to a list of paths
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Properties
-
adapter
→ VoyagerAdapter<
VoyagerPage> -
VoyagerPage
serialization adapterfinal