PageRoute<T> constructor

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

Creates a modal route that replaces the entire screen.

Implementation

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