ComponentElement(Widget widget)

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

Source

ComponentElement(Widget widget) : super(widget);