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