AbsoluteKeyframe<T> constructor

const AbsoluteKeyframe<T>(
  1. Duration duration,
  2. T from,
  3. T to
)

Creates an absolute keyframe with explicit start and end values.

Parameters

  • duration - How long to animate from from to to.
  • from - The starting value.
  • to - The ending value.

Implementation

const AbsoluteKeyframe(
  this.duration,
  this.from,
  this.to,
);