EffectTiming constructor

EffectTiming({
  1. double duration = 0,
  2. double delay = 0,
  3. double endDelay = 0,
  4. double iterationStart = 0,
  5. double iterations = 1,
  6. String easing = 'linear',
  7. PlaybackDirection direction = PlaybackDirection.normal,
  8. FillMode fill = FillMode.auto,
})

Implementation

EffectTiming(
    {double duration = 0,
    double delay = 0,
    double endDelay = 0,
    double iterationStart = 0,
    double iterations = 1,
    String easing = 'linear',
    PlaybackDirection direction = PlaybackDirection.normal,
    FillMode fill = FillMode.auto}) {
  _duration = duration;
  _delay = delay;
  _endDelay = endDelay;
  _iterationStart = iterationStart;
  _iterations = iterations;
  _easing = easing;
  _direction = direction;
  _fill = fill;

  if (_easing != null) {
    _easingCurve = _parseEasing(_easing);
  }
}