insertChildControllers method

void insertChildControllers(
  1. List<NodeController>? controllers,
  2. List<int> indexes
)

Implementation

void insertChildControllers(
    List<NodeController>? controllers, List<int> indexes) {
  if (controllers == null || controllers.length == 0) {
    return;
  }
  indexes.forEach((index) {
    _mutableChildControllers.insert(index, controllers[index]);
  });

  resetNodesAfterChildAtIndex(min);
}