isInOverlay method
True when glintId belongs to an overlay entry (dialog/sheet) rather
than the base screen. The tap tool uses this to warn when a barrier may
intercept the tap.
Implementation
bool isInOverlay(String glintId) {
for (final root in overlayRoots) {
for (final n in root.walk()) {
if (n.isOffstage) continue;
if (n.glintId == glintId) return true;
}
}
return false;
}