ModalRoute<T> constructor Null safety

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

Creates a route that blocks interaction with previous routes.

Implementation

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