buildAnimation method
Returns an animation based on the controller, entry, and begin/end values.
Implementation
Animation<T> buildAnimation(
AnimationController controller,
EffectEntry entry,
) {
return entry
.buildAnimation(controller)
.drive(Tween<T>(begin: begin, end: end));
}