hideDeeperThan static method
Implementation
static void hideDeeperThan(int level) {
final levels = _activeByLevel.keys.where((l) => l > level).toList();
for (final l in levels) {
final controller = _activeByLevel[l];
if (controller != null && controller.isShowing) {
controller.hide();
}
_activeByLevel.remove(l);
_hoveredLevels.remove(l);
}
}