didInsertNode method

void didInsertNode(
  1. List<Node> targets,
  2. Node? next
)

Implementation

void didInsertNode(List<Node> targets, Node? next) {
  Node? unchangedPrevious = targets.isNotEmpty ? targets[0].previousSibling : null;

  for (final targetNode in targets) {
    childrenChanged(ChildrenChange.forInsertion(targetNode, unchangedPrevious, next, ChildrenChangeSource.API));
  }
}