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