markNeedsPaintScrollOnly method
void
markNeedsPaintScrollOnly()
Schedules a repaint for scroll-only changes.
Marks the relevant render subtree and ancestors as paint-dirty without forcing descendant cache invalidation.
Implementation
void markNeedsPaintScrollOnly() {
_owner?.schedulePaint();
_markRenderSubtreeNeedsPaint(invalidateDescendantCaches: false);
_markRenderAncestorsNeedsPaint(invalidateDescendantCaches: false);
}