SlottedChildView.withNodes constructor

SlottedChildView.withNodes({
  1. required List<Node> nodes,
  2. required List<ChildSlot> slots,
  3. Key? key,
})

Creates a view that takes over nodes, which must share a parent.

If nodes aren't already in the view's parent element, they're moved to the view's position.

Implementation

SlottedChildView.withNodes({required List<web.Node> this.nodes, required this.slots, super.key});