hasOpenMenu property

bool get hasOpenMenu

Returns true if there is a currently tracked "active" menu (the most recently opened menu in single-instance mode, or the last one opened in multi-open mode).

Implementation

static bool get hasOpenMenu => _activeMenuState?._menuOverlayEntry != null;