update method
Updates this element with a new widget configuration.
Implementation
void update(Widget newWidget) {
widget = newWidget;
_bindElement(widget, this);
}
Updates this element with a new widget configuration.
void update(Widget newWidget) {
widget = newWidget;
_bindElement(widget, this);
}