maybeOf static method

SynthizerScopeState? maybeOf(
  1. BuildContext context
)

Possibly return the nearest instance.

Implementation

static SynthizerScopeState? maybeOf(final BuildContext context) =>
    context.findAncestorStateOfType<SynthizerScopeState>();