AnimatableCallback<T> typedef Null safety

AnimatableCallback<T> = T Function(double)

A typedef used by Animatable.fromCallback to create an Animatable from a callback.

Implementation

typedef AnimatableCallback<T> = T Function(double);