of static method

Implementation

static ContextMenuOverlayState of(BuildContext context) =>
    (context.dependOnInheritedWidgetOfExactType<_InheritedContextMenuOverlay>() as _InheritedContextMenuOverlay)
        .state;