assert(_keyedChildren.values.every(_slotToChild.values.contains),'_keyedChildren ${_keyedChildren.values} should be a subset of ${_slotToChild.values}');
}
void_updateChild(Widget?widget,Sslot){
finalElement?oldChild=_slotToChild[slot];
assert(oldChild==null||oldChild.slot==slot);// Reason why [moveRenderObjectChild] is not reachable.