createElement method

  1. @override
SlottedRenderObjectElement<SlotType, ChildType> createElement()
override

RenderObjectWidgets always inflate to a RenderObjectElement subclass.

Implementation

@override
SlottedRenderObjectElement<SlotType, ChildType> createElement() => SlottedRenderObjectElement<SlotType, ChildType>(this);