PageRouteInfo<T> class

Annotations

Constructors

PageRouteInfo(String _name, {required String path, List<PageRouteInfo>? initialChildren, T? args, Map<String, dynamic> rawPathParams = const {}, Map<String, dynamic> rawQueryParams = const {}, String fragment = '', String? stringMatch, String? redirectedFrom})
const
PageRouteInfo.fromMatch(RouteMatch match)
factory

Properties

args → T?
final
flattened List<PageRouteInfo>
no setter
fragment String
final
fromRedirect bool
no setter
fullPath String
no setter
hasChildren bool
no setter
hashCode int
The hash code for this object.
no setteroverride
initialChildren List<PageRouteInfo>?
final
path String
final
pathParams → Parameters
no setter
queryParams → Parameters
no setter
rawPathParams Map<String, dynamic>
final
rawQueryParams Map<String, dynamic>
final
redirectedFrom String?
final
routeName String
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
stringMatch String
no setter

Methods

copyWith({String? name, String? path, T? args, RouteMatch? match, Map<String, dynamic>? params, Map<String, dynamic>? queryParams, List<PageRouteInfo>? children, String? fragment}) PageRouteInfo
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
show<E>(BuildContext context) Future<E?>
toString() String
A string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator.
override

Static Methods

expandPath(String template, Map<String, dynamic> params) String