RenderObjectToWidgetElement<T extends RenderObject> constructor

RenderObjectToWidgetElement<T extends RenderObject>(RenderObjectToWidgetAdapter<T> widget)

Creates an element that is hosted by a RenderObject.

The RenderObject created by this element is not automatically set as a child of the hosting RenderObject. To actually attach this element to the render tree, call RenderObjectToWidgetAdapter.attachToRenderTree.

Implementation

RenderObjectToWidgetElement(RenderObjectToWidgetAdapter<T> widget) : super(widget);