RoutePage<T> class

This annotation is used to mark flutter widgets as routable pages by enabling the router to construct them.

T is the results type returned from this page route e.g MaterialPageRoute

Annotations

Constructors

RoutePage({String? name, bool? deferredLoading})
default constructor
const

Properties

deferredLoading bool?
Use for web for lazy loading more info https://dart.dev/guides/language/language-tour#deferred-loading defaults to false
final
hashCode int
The hash code for this object.
no setterinherited
name String?
The name of the generated route if not provided, a name will be generated from class name and maybe altered by replaceInRouteName
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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