maybeOf static method

GameShortcutsProvider? maybeOf(
  1. BuildContext context
)

Possibly return an instance.

Implementation

static GameShortcutsProvider? maybeOf(final BuildContext context) =>
    context.dependOnInheritedWidgetOfExactType<GameShortcutsProvider>();