updateSlotForChild method

  1. @protected
void updateSlotForChild(
  1. Element child,
  2. Object? newSlot
)
inherited

Moves child to newSlot, along with the elements below it down to the one whose render object stands for it.

Implementation

@protected
void updateSlotForChild(Element child, Object? newSlot) {
  for (Element? e = child; e != null; e = e._renderObjectAttachingChild) {
    e.updateSlot(newSlot);
  }
}