PageRoute<T> constructor Null safety

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

Creates a modal route that replaces the entire screen.

Implementation

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