setAttr method
Called when the given attribute has been given a new value. This assumes the attribute can/should be directly set in the args passed to the widget
Implementation
void setAttr(TinkWidgetAttribute attr, TinkAttributeEvent current) {
rerender(() => args[attr.id.name] = current.data);
}