paintChild method

  1. @override
void paintChild(
  1. RenderObject child,
  2. Offset offset
)
override

Paint a child RenderObject.

If the child has its own composited layer, the child will be composited into the layer subtree associated with this painting context. Otherwise, the child will be painted into the current PictureLayer for this context.

Implementation

@override
void paintChild(RenderObject child, Offset offset) {
  child.paint(this, offset);
}