of static method

bool? of(
  1. BuildContext context
)

Whether the anchor above context has its menu up; null outside one, where a field announces nothing.

Implementation

static bool? of(BuildContext context) =>
    context.dependOnInheritedWidgetOfExactType<ComicMenuOpen>()?.open;