TimelineAnimatable<T> constructor

TimelineAnimatable<T>(
  1. Duration duration,
  2. 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);