PageWrapper class
A Page wrapper.
Constructors
- PageWrapper(RouteDefinition routeDefinition, String path, int index, {String? id})
- Creates a PageWrapper.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- id → String?
-
The page id.
final
- index → int
-
The page index
final
- key → String
-
The page restoration id.
no setter
- name → String?
-
The page name.
final
- pageOrNull → Page?
-
The page if it's already built.
no setter
-
parameters
→ Map<
String, String> -
Extracts the parameters from the current path.
no setter
- path → String
-
The current page path.
final
-
query
→ Map<
String, String> -
Extracts the query from the current path.
no setter
- restorationId → String
-
The page restoration id.
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
buildWidget(
BuildContext context) → Widget - Build the widget.
-
getOrBuildPage(
BuildContext context) → Page - Build the page.
-
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