mount method
Places this element in the tree under parent (null for a root, whose
owner is assigned before) at newSlot.
Implementation
@override
void mount(Element? parent, Object? newSlot) {
super.mount(parent, newSlot);
_renderObject = widget.createRenderObject(this);
attachRenderObject(newSlot);
_dirty = false;
}