isRepaintBoundary property

  1. @override
bool get isRepaintBoundary
override

Whether this object is a repaint boundary, repainted on its own over what it painted before when something inside it is marked (markNeedsPaint); false by default.

A boundary paints every cell of its bounds with an opaque background: a translucent one would blend with itself on every repaint, not with what is under it.

Implementation

@override
bool get isRepaintBoundary => true;