createElement method
RenderObjectWidgets always inflate to a RenderObjectElement subclass.
Implementation
@override
SingleChildRenderObjectElement createElement() {
return _AnimatableSingleChildRenderObjectElement(
this as SingleChildRenderObjectWidget,
);
}