createElement method Null safety

  1. @override
  2. @factory
RenderObjectElement createElement()
factory">@factoryoverride

RenderObjectWidgets always inflate to a RenderObjectElement subclass.

Implementation

@override
@factory
RenderObjectElement createElement();