Element constructor
Creates an element that uses the given widget as its configuration.
Typically called by an override of Widget.createElement.
Implementation
Element(Widget widget)
: assert(widget != null),
_widget = widget;
Creates an element that uses the given widget as its configuration.
Typically called by an override of Widget.createElement.
Element(Widget widget)
: assert(widget != null),
_widget = widget;