printChild method

String printChild(
  1. RenderNode renderNode
)

Implementation

String printChild(RenderNode renderNode) {
  var buffer = StringBuffer();
  buffer.write(" [Id:${renderNode.id}${renderNode.name}");
  for (var child in renderNode._children) {
    buffer.write(printChild(child));
  }
  buffer.write("]");
  return buffer.toString();
}