ModalRoute<T> constructor Null safety

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

Creates a route that blocks interaction with previous routes.

Implementation

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