The animated version of the ClipRRect widget,
specifying a borderRadius and using AfAnimations.update
or by using AfController and controller.update, will animate the change.
Animating a single value by interpolating to the new value,
a very dynamic animation widget and using AfAnimations.update
or by using AfController and controller.update, will animate the change.
The AfAnimations widget serves to globally set the duration and curve for all used AfWidgets.
You can retrieve the specified data here. Below this, you can see how it is done.
The Builder version, which has AfWidget implemented inside,
updates the widget easily and using AfAnimations.update
or by using AfController and controller.update,
whichever is easier for you...
The alternative to AfAnimations without context, for those suffering from "Contextphobia"...
The AfController is used to set the duration, curve, and other animations
for a specified group of AfWidgets.