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) {
_issues.clear();
_highlights.clear();
_uncachedImages.clear();
_pendingHighlights.clear();
_imageFrames.clear();
_uses.clear();
}