markNeedsPaint method

void markNeedsPaint()

Schedules a repaint and invalidates ancestor render caches.

Implementation

void markNeedsPaint() {
  _owner?.schedulePaint();
  _markRenderSubtreeNeedsPaint(invalidateDescendantCaches: true);
  _markRenderAncestorsNeedsPaint(invalidateDescendantCaches: true);
}