ChildSlot.between constructor

ChildSlot.between({
  1. required Node start,
  2. required Node end,
  3. required Component child,
  4. Key? key,
})

Creates a slot that renders child between the start and end nodes, such as two comment markers.

The start and end nodes must share a parent and be part of the view's nodes.

Implementation

factory ChildSlot.between({required web.Node start, required web.Node end, required Component child, Key? key}) =
    _RangeChildSlot;