session/local/modal_route_lookup library
Functions
-
isUnderCurrentModalRoute(
Element element) → bool -
Whether
elementsits under the navigator's current ModalRoute. -
modalRouteForElement(
Element element) → ModalRoute? -
Returns the nearest route scope for
elementwithout registering an inherited-widget dependency.nullmeans the element is outside a route.