hideAll static method
void
hideAll()
Closes all active menus across the entire application.
Implementation
static void hideAll() {
for (final state in _roots.values) {
state.closeTimer?.cancel();
for (final controller in state.activeByLevel.values) {
if (controller.isShowing) {
controller.hide();
}
}
}
_roots.clear();
}