LeafRenderObjectElement constructor Null safety

LeafRenderObjectElement(
  1. LeafRenderObjectWidget widget
)

Creates an element that uses the given widget as its configuration.

Implementation

LeafRenderObjectElement(LeafRenderObjectWidget widget) : super(widget);