Element constructor

Element(
  1. Widget widget
)

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

Implementation

Element(this.widget);