RenderObject constructor Null safety

RenderObject()

Initializes internal fields for subclasses.

Implementation

RenderObject() {
  _needsCompositing = isRepaintBoundary || alwaysNeedsCompositing;
}