MaterialPageData class Null safety

Constructors

MaterialPageData({Widget? child, String? name, bool? maintainState, bool? fullscreenDialog, LocalKey? key, String? restorationId, Object? arguments})

Properties

arguments Object?
The arguments passed to this route.
finalinherited
child Widget?
The content to be shown in the Route created by this page.
finalinherited
fullscreenDialog bool?
Whether this page route is a full-screen dialog.
finalinherited
hashCode int
The hash code for this object.
read-onlyinherited
key LocalKey?
The key associated with this page.
finalinherited
maintainState bool?
Whether the route should remain in memory when it is inactive.
finalinherited
name String?
The name of the route (e.g., "/settings").
finalinherited
restorationId String?
Restoration ID to save and restore the state of the Route configured by this page.
finalinherited
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited

Methods

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 other) bool
The equality operator.
inherited