setProperty method
update a property. If this is a HasController (i.e. Widget), notify it of changes
Implementation
@override
void setProperty(prop, val) {
Function? func = setters()[prop];
if (func != null) {
func(val);
widgetController.notifyListeners();
} else {
throw InvalidPropertyException("Settable property '$prop' not found.");
}
}