ModalRoute<T> constructor

ModalRoute<T>({RouteSettings settings })

Creates a route that blocks interaction with previous routes.

Implementation

ModalRoute({
  RouteSettings settings,
}) : super(settings: settings);