RouteSettings class
Data that might be useful in constructing a Route.
- Annotations
- @immutable
Constructors
- RouteSettings({String name, bool isInitialRoute: false })
-
Creates data used to construct routes.
const
Properties
- isInitialRoute → bool
-
Whether this route is the very first route being pushed onto this Navigator. [...]
final
- name → String
-
The name of the route (e.g., "/settings"). [...]
final
- hashCode → int
-
The hash code for this object. [...]
read-only, inherited
- runtimeType → Type
-
A representation of the runtime type of the object.
read-only, inherited
Methods
-
copyWith(
{String name, bool isInitialRoute }) → RouteSettings - Creates a copy of this route settings object with the given fields replaced with the new values.
-
toString(
) → String -
Returns a string representation of this object.
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent method or property is accessed. [...]
inherited
Operators
-
operator ==(
dynamic other) → bool -
The equality operator. [...]
inherited