PageSettings class

Data that might be useful in constructing a Page. It extends RouteSettings

Inheritance

Constructors

PageSettings({required String name, String? routePattern, Object? arguments, Widget? child, Widget builder(Widget route)?, Map<String, String> queryParams = const {}})
Data that might be useful in constructing a Page. It extends RouteSettings
const

Properties

arguments Object?
The arguments passed to this route.
finalinherited
builder Widget Function(Widget route)?
The builder of the page
final
child Widget?
If provided this is the widget associated with this page
final
getSubPages List<PageSettings>
Get sub pages of the page
no setter
hashCode int
The hash code for this object.
no setteroverride
key ValueKey?
A Key is an identifier for page
final
name String?
The name of the route (e.g., "/settings").
finalinherited
queryParams Map<String, String>
parameter of the query params of the url
final
rData RouteData?
Object that holds information about the active route.
final
routePattern String?
The route uir
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
signature String
no setter

Methods

copyWith({String? name, String? delegateName, String? routePattern, ValueKey? key, Object? arguments, Widget? child, Map<String, String>? queryParams, RouteData? routeData, Widget builder(Widget route)?}) PageSettings
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
override
toStringShort() String

Operators

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