PageRoute<T> constructor Null safety

PageRoute<T>(
  1. {RouteSettings? settings,
  2. bool fullscreenDialog = false}
)

Creates a modal route that replaces the entire screen.

Implementation

PageRoute({
  RouteSettings? settings,
  this.fullscreenDialog = false,
}) : super(settings: settings);