Animatable<T>.fromCallback constructor

const Animatable<T>.fromCallback(
  1. AnimatableCallback<T> callback
)

Create a new Animatable from the provided callback.

See also:

Implementation

const factory Animatable.fromCallback(AnimatableCallback<T> callback) = _CallbackAnimatable<T>;