maybeOf static method

InheritedGameShortcuts? maybeOf(
  1. BuildContext context
)

Possibly return an instance.

Implementation

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