of static method

VibeContainer of(
  1. BuildContext context
)

Always returns VibeContainer

Implementation

static VibeContainer of(BuildContext context) =>
    context
        .dependOnInheritedWidgetOfExactType<InheritedVibeContainer>()
        ?.container ??
    InheritedVibeContainer.globalContainer;