onUpdate property
void
onUpdate=(void function())
The function that is called every time this Tween updates the properties of the TweenObject.
Implementation
set onUpdate(void Function() function) {
_onUpdate = function;
}