AnimationBuilder<T> typedef
AnimationBuilder<T> =
Widget Function(BuildContext context, Animation<T> animation)
A typedef for a function that builds a widget based on the current value of an animation.
The generic type parameter T represents the type of the animation value.
This function is typically used to create widgets that respond to changes
in animation values.
Implementation
typedef AnimationBuilder<T> =
Widget Function(BuildContext context, Animation<T> animation);