maybeOf static method

SceneScope? maybeOf(
  1. BuildContext context
)

The nearest SceneScope, or null if there is none.

Implementation

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