KeyframeEffect constructor

KeyframeEffect(
  1. RenderStyle renderStyle,
  2. Element? target,
  3. List<Keyframe> keyframes,
  4. EffectTiming? options,
)

Implementation

KeyframeEffect(this.renderStyle, this.target, List<Keyframe> keyframes, EffectTiming? options) {
  timing = options ?? EffectTiming();

  _propertySpecificKeyframeGroups = _makePropertySpecificKeyframeGroups(keyframes);
  _interpolations = _makeInterpolations(_propertySpecificKeyframeGroups, renderStyle);
}