ModalPageRoute<T> constructor

ModalPageRoute<T>({
  1. required WidgetBuilder builder,
  2. @required RouteSettings? settings,
})

Implementation

ModalPageRoute({
  required WidgetBuilder builder,
  @required super.settings,
}) : super(
        builder: (context) => builder(context),
        fullscreenDialog: true,
      );