resetChildIndex method

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

Implementation

void resetChildIndex(VirtualNode child, int index) {
  if (_children.contains(child)) {
    removeChild(child);
    addChildAt(child, index);
  }
}