Page<T> class

Describes the configuration of a Route.

The type argument T is the corresponding Route's return type, as used by Route.currentResult, Route.popped, and Route.didPop.

See also:

Inheritance
Implementers

Constructors

Page({LocalKey key, String name, Object arguments})
Creates a page and initializes key for subclasses. [...]
const

Properties

arguments Object
The arguments passed to this route. [...]
final, inherited
hashCode int
The hash code for this object. [...]
read-only, inherited
key LocalKey
The key associated with this page. [...]
final
name String
The name of the route (e.g., "/settings"). [...]
final, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

canUpdate(Page other) bool
Whether this page can be updated with the other page. [...]
copyWith({String name, Object arguments}) RouteSettings
Creates a copy of this route settings object with the given fields replaced with the new values.
inherited
createRoute(BuildContext context) Route<T>
Creates the Route that corresponds to this page. [...]
@factory
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() String
Returns a string representation of this object.
override

Operators

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