RelativeKeyframe<T> constructor

const RelativeKeyframe<T>(
  1. Duration duration,
  2. T target
)

Creates a relative keyframe that animates to the target value.

Parameters

  • duration - How long to animate to target.
  • target - The ending value for this keyframe.

Implementation

const RelativeKeyframe(
  this.duration,
  this.target,
);