createElement method

  1. @override
LeafRenderObjectElement createElement ()
override

RenderObjectWidgets always inflate to a RenderObjectElement subclass.

Implementation

@override
LeafRenderObjectElement createElement() => LeafRenderObjectElement(this);