addRepaintBoundaries property

bool addRepaintBoundaries
final

Whether to wrap each child in a RepaintBoundary.

Typically, children in a scrolling container are wrapped in repaint boundaries so that they do not need to be repainted as the list scrolls. If the children are easy to repaint (e.g., solid color blocks or a short snippet of text), it might be more efficient to not add a repaint boundary and simply repaint the children during scrolling.

Defaults to true.

Implementation

final bool addRepaintBoundaries;