toRepaintBoundaryReplaced method

RenderRepaintBoundaryReplaced toRepaintBoundaryReplaced()

Implementation

RenderRepaintBoundaryReplaced toRepaintBoundaryReplaced() {
  RenderObject? childRenderObject = child;
  child = null;
  RenderRepaintBoundaryReplaced newChild = RenderRepaintBoundaryReplaced(renderStyle);
  newChild.child = childRenderObject as RenderBox?;
  return copyWith(newChild);
}