ModularPage<TPageParameters extends PageParameters> class Null safety

Inheritance
Implementers

Constructors

ModularPage({required TPageParameters parameters, Animation? animation})

Properties

animation Animation?
final
arguments Object?
The arguments passed to this route.
finalinherited
hashCode int
The hash code for this object.
read-onlyoverride
key LocalKey?
The key associated with this page.
finalinherited
name String?
The name of the route (e.g., "/settings").
finalinherited
parameters → TPageParameters
final
restorationId String?
Restoration ID to save and restore the state of the Route configured by this page.
read-onlyoverride
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited

Methods

build(BuildContext context) Widget
canUpdate(Page other) bool
Whether this page can be updated with the other page.
inherited
createRoute(BuildContext context) Route<Widget>
Creates the Route that corresponds to this page.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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