MaterialWithModalsPageRoute<T> constructor
MaterialWithModalsPageRoute<T> ({
- required WidgetBuilder builder,
- RouteSettings? settings,
- bool maintainState = true,
- bool fullscreenDialog = false,
Construct a MaterialPageRoute whose contents are defined by builder
.
The values of builder
, maintainState
, and fullScreenDialog
must not
be null.
Implementation
MaterialWithModalsPageRoute({
required WidgetBuilder builder,
RouteSettings? settings,
bool maintainState = true,
bool fullscreenDialog = false,
}) : super(
settings: settings,
fullscreenDialog: fullscreenDialog,
builder: builder,
maintainState: maintainState);