addChildAt method

void addChildAt(
  1. VirtualNode child,
  2. int index
)

Implementation

void addChildAt(VirtualNode child, int index) {
  if (child._parent != null) {
    return;
  }
  _children.insert(index, child);
  child._parent = this;
}