markNeedsPaintOnly method

void markNeedsPaintOnly()

Marks this render object as needing paint without invalidating descendant-specific paint caches.

Use this for scroll-offset-only updates where content is unchanged but parent render caches must re-read this subtree's paint output.

Implementation

void markNeedsPaintOnly() {
  _paintDirty = true;
}