isSubmenu property

bool isSubmenu
final

Whether the current menu is a submenu of another menu.

Root menus (like a BaseMenuBar or a top-level context menu) have this set to false.

Implementation

final bool isSubmenu;