debugOverlayDisposedDuringInteraction top-level property
Test hook: number of DashboardOverlay states disposed while they were
driving a live interaction (_activeItemId != null).
GestureBinding freezes the hit-test path at pointer-DOWN and replays it
for every later event of that pointer without revalidating the targets, so
an overlay destroyed mid-gesture keeps receiving the rest of the gesture on
a defunct State — silently, until something touches context. Nothing
observable distinguishes that from a healthy drag (§1, Debug Hooks), hence
this counter. Reset it in setUp, not only tearDown.
Implementation
@visibleForTesting
int debugOverlayDisposedDuringInteraction = 0;