MaterialPageRoute<T> constructor
- required WidgetBuilder builder,
- RouteSettings? settings,
- bool maintainState = true,
- bool fullscreenDialog = false,
- bool allowSnapshotting = true,
- bool barrierDismissible = false,
Construct a MaterialPageRoute whose contents are defined by builder.
Implementation
MaterialPageRoute({
required this.builder,
super.settings,
this.maintainState = true,
super.fullscreenDialog,
super.allowSnapshotting = true,
super.barrierDismissible = false,
}) {
assert(opaque);
}