modalRouteSettings property
RouteSettings?
get
modalRouteSettings
Returns the RouteSettings of the current modal route, or null if there is no modal route.
Implementation
RouteSettings? get modalRouteSettings => modalRoute?.settings;