isRepaintBoundary property

bool isRepaintBoundary

Whether this render object repaints separately from its parent.

Override this in subclasses to indicate that instances of your class ought to repaint independently. For example, render objects that repaint frequently might want to repaint themselves without requiring their parent to repaint.

If this getter returns true, the paintBounds are applied to this object and all descendants.

Warning: This getter must not change value over the lifetime of this object.


bool get isRepaintBoundary => false;