attachRenderObject method
Puts the render objects of this subtree, which detachRenderObject
took out, back into the render tree at newSlot.
Implementation
void attachRenderObject(Object? newSlot) {
// the slot handed down in a static, not in a closure, which makes a
// closure and a context at each element
final outer = _attachingAt;
_attachingAt = newSlot;
try {
visitChildren(_attachRenderObject);
} finally {
_attachingAt = outer;
}
_slot = newSlot;
}