AnimationController<T> constructor

AnimationController<T>({
  1. required AnimationSpline<T> animation,
})

Implementation

AnimationController({
  required this.animation,
}) : lastTime = animation.values.last.$1;