compute method

  1. @override
T compute(
  1. TimelineAnimation<T> timeline,
  2. int index,
  3. double t
)
override

Implementation

@override
T compute(TimelineAnimation<T> timeline, int index, double t) {
  return timeline.lerp(from!, to!, t)!;
}