createElement method
override
RenderObjectWidgets always inflate to a RenderObjectElement subclass.
Implementation
@override
RenderObjectToWidgetElement<T> createElement() => RenderObjectToWidgetElement<T>(this);
RenderObjectWidgets always inflate to a RenderObjectElement subclass.
@override
RenderObjectToWidgetElement<T> createElement() => RenderObjectToWidgetElement<T>(this);