TimelineAnimatable<T> constructor
TimelineAnimatable<T> (
- Duration duration,
- TimelineAnimation<
T> animation
Creates a timeline animatable with the specified duration.
Parameters
duration- The total duration for the animation.animation- The timeline animation to wrap.
Implementation
TimelineAnimatable(this.duration, this.animation);