RouteOptions constructor

const RouteOptions({
  1. bool? maintainState,
  2. bool? fullscreenDialog,
  3. bool? allowSnapshotting,
  4. bool? barrierDismissible,
  5. bool? requestFocus,
})

Creates a RouteOptions object to configure route behavior.

All fields are optional and have default values.

Implementation

const RouteOptions({
  this.maintainState,
  this.fullscreenDialog,
  this.allowSnapshotting,
  this.barrierDismissible,
  this.requestFocus,
});