MaterialPage<T> constructor
Null safety
Creates a material page.
Implementation
const MaterialPage({
required this.child,
this.maintainState = true,
this.fullscreenDialog = false,
this.preferRasterization = true,
super.key,
super.name,
super.arguments,
super.restorationId,
}) : assert(child != null),
assert(maintainState != null),
assert(fullscreenDialog != null);