evaluate method Null safety

T evaluate (
  1. Animation<double> animation
)

The current value of this object for the given Animation.

This function is implemented by deferring to transform. Subclasses that want to provide custom behavior should override transform, not evaluate.

See also:

Implementation

T evaluate(Animation<double> animation) => transform(animation.value);