of static method

RoutedInfo? of(
  1. BuildContext context
)

Implementation

static RoutedInfo? of(BuildContext context) =>
    context.dependOnInheritedWidgetOfExactType<_RoutedInfoProvider>()?.value;