prepareScan method
Prepare for a new scan cycle. Called once before the unified tree walk.
Override to clear accumulated state, issues, highlights, and initialise per-scan accumulators.
Implementation
@override
void prepareScan(BuildContext context) {
_expensiveNodes.clear();
_blurChromeOwners.clear();
_chromeNodeCount = 0;
_highlights.clear();
_subtreeSizeStack.clear();
}