createElement method

  1. @override
RenderObjectToWidgetElement<T> createElement ()
override

RenderObjectWidgets always inflate to a RenderObjectElement subclass.

Implementation

@override
RenderObjectToWidgetElement<T> createElement() => RenderObjectToWidgetElement<T>(this);