detachChildren method

List<RenderBox> detachChildren()

Implementation

List<RenderBox> detachChildren() {
  List<RenderBox> children = getChildren();
  removeAll();
  return children;
}