ModalRoute<T> constructor

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

Creates a route that blocks interaction with previous routes.

Implementation

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