PageSettings class

A custom implementation of RouteSettings representing settings specific to a page.

This class extends RouteSettings to provide additional functionality and data related to a page's URI, path, parameters, and query parameters.

Example usage:

final pageSettings = PageSettings(Uri.parse('/example'));
final path = pageSettings.path;
final queryParameters = pageSettings.query;
Inheritance

Constructors

PageSettings(Uri uri, [Object? arguments])
Constructs a PageSettings object with the given URI and optional arguments.

Properties

arguments Object?
The arguments passed to this route.
finalinherited
hashCode int
The hash code for this object.
no setteroverride
name String
The name of the route (e.g., "/settings").
no setteroverride
params Map<String, String>
Parameters associated with the page.
final
path String
Retrieves the path component of the URI.
no setter
paths List<String>
Retrieves the path segments of the URI.
no setter
queries Map<String, List<String>>
Retrieves all the query parameters of the URI.
no setter
query Map<String, String>
Retrieves the query parameters of the URI.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
uri Uri
The URI associated with the page settings.
final

Methods

copy({Uri? uri, Object? arguments}) PageSettings
Creates a copy of this PageSettings object with optional parameters overridden.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
override

Operators

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