of static method

InjectorContainerWidget? of(
  1. BuildContext context
)

Retrieves the InjectorContainerWidget from the given context.

Implementation

static InjectorContainerWidget? of(BuildContext context) => context.getInheritedWidgetOfExactType<InjectorContainerWidget>();