updateSlot method
Called by updateSlotForChild when the framework needs to change the slot that this Element occupies in its ancestor.
Implementation
@override
void updateSlot(ElementSlot newSlot) {
super.updateSlot(newSlot);
attachRenderObject();
}