MultiChildRenderObjectElement constructor Null safety

MultiChildRenderObjectElement(
  1. MultiChildRenderObjectWidget widget
)

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

Implementation

MultiChildRenderObjectElement(MultiChildRenderObjectWidget widget)
  : assert(!debugChildrenHaveDuplicateKeys(widget, widget.children)),
    super(widget);