clearCandidates method
Clears candidates without changing current or currentElement.
Used when the selection is updated from DevTools or another tool so stale on-device hit-test candidates are not drawn on the overlay.
Implementation
void clearCandidates() {
if (_candidates.isEmpty) {
return;
}
_candidates = <RenderObject>[];
_index = 0;
}