updateSlot method

  1. @override
void updateSlot(
  1. Object? newSlot
)
override

Called by updateSlotForChild when the framework needs to change the slot that this Element occupies in its ancestor.

Implementation

@override
void updateSlot(Object? newSlot) {
  super.updateSlot(newSlot);
  assert(_debugCheckMustNotAttachRenderObjectToAncestor());
}