MaterialWithModalsPageRoute<T> constructor

MaterialWithModalsPageRoute<T>({
  1. required WidgetBuilder builder,
  2. RouteSettings? settings,
  3. bool maintainState = true,
  4. 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 super.builder,
  super.settings,
  super.maintainState,
  super.fullscreenDialog,
});