ChildSlotRenderObject constructor
ChildSlotRenderObject(
- Element node,
- DomRenderObject parent
Creates a slot that renders its children as the content of node,
hydrating the child nodes node already has.
Implementation
ChildSlotRenderObject(this.node, DomRenderObject parent) {
this.parent = parent;
final childNodes = node.childNodes;
toHydrate = [
for (var childIndex = 0; childIndex < childNodes.length; childIndex += 1) childNodes.item(childIndex)!,
];
_beforeStart = null;
}