Animatable<T>.fromCallback constructor
- AnimatableCallback<
T> callback
Create a new Animatable from the provided callback
.
See also:
- Animation.drive, which provides an example for how this can be used.
Implementation
const factory Animatable.fromCallback(AnimatableCallback<T> callback) = _CallbackAnimatable<T>;