PageRoute<T> constructor Null safety

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

Creates a modal route that replaces the entire screen.

Implementation

PageRoute({
  super.settings,
  this.fullscreenDialog = false,
  this.preferRasterization = true,
});