maybeOf static method

CockpitSurfaceState? maybeOf(
  1. BuildContext context
)

Implementation

static CockpitSurfaceState? maybeOf(BuildContext context) {
  return context
      .dependOnInheritedWidgetOfExactType<_CockpitSurfaceScope>()
      ?.state;
}