maybeOf static method
The nearest published presentation, or null when none is.
Implementation
static RoutePresentation? maybeOf(BuildContext context) => context
.dependOnInheritedWidgetOfExactType<RoutePresentationScope>()
?.presentation;
The nearest published presentation, or null when none is.
static RoutePresentation? maybeOf(BuildContext context) => context
.dependOnInheritedWidgetOfExactType<RoutePresentationScope>()
?.presentation;