createElement method Null safety

  1. @override
RenderObjectElement createElement()
override

RenderObjectWidgets always inflate to a RenderObjectElement subclass.

Implementation

@override
RenderObjectElement createElement() => _LayoutBuilderElement<ConstraintType>(this);