PageSettings class Null safety

Inheritance
Annotations

Constructors

PageSettings({required String name, Object? arguments, Widget? child, Map<String, String> pathParams = const {}, Map<String, String> queryParams = const {}})
const

Properties

arguments Object?
The arguments passed to this route. [...]
final, inherited
child Widget?
final
hashCode int
The hash code for this object. [...]
read-only, override
name String?
The name of the route (e.g., "/settings"). [...]
final, inherited
pathParams Map<String, String>
final
queryParams Map<String, String>
final
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

copyWith({String? name, Object? arguments, Widget? child, Map<String, String>? queryParams, Map<String, String>? pathParams}) PageSettings
Creates a copy of this route settings object with the given fields replaced with the new values.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() String
A string representation of this object. [...]
override

Operators

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