ModalRoute<T> constructor

ModalRoute<T>({
  1. RouteSettings? settings,
  2. bool? requestFocus,
  3. ImageFilter? filter,
  4. TraversalEdgeBehavior? traversalEdgeBehavior,
})

Creates a route that blocks interaction with previous routes.

Implementation

ModalRoute({
  super.settings,
  super.requestFocus,
  this.filter,
  this.traversalEdgeBehavior,
});