PageRequest class
Legacy page request class for backward compatibility.
Constructors
-
PageRequest({BuildContext? context, NyArgument? nyArgument, Map<
String, String> ? queryParameters}) -
PageRequest.redirect(dynamic path, {dynamic data, Map<
String, dynamic> ? queryParameters, dynamic result, bool removeUntilPredicate(Route route)?, PageTransitionSettings? pageTransitionSettings, PageTransitionType? pageTransitionType, dynamic onPop(dynamic value)?})
Properties
- context ↔ BuildContext?
-
getter/setter pair
- data → dynamic
-
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- isRedirect ↔ bool
-
getter/setter pair
- nyArgument ↔ NyArgument?
-
getter/setter pair
-
queryParameters
↔ Map<
String, String> ? -
getter/setter pair
- routeData ↔ RouteData?
-
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
addData(
dynamic currentData(dynamic data)) → void -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toRouteContext(
String routeName) → RouteContext - Convert to RouteContext for new guard system.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
fromRouteContext(
RouteContext context) → PageRequest - Create from RouteContext.