AnimeAnimParams constructor

AnimeAnimParams({
  1. dynamic targets,
  2. dynamic duration,
  3. dynamic delay,
  4. dynamic endDelay,
  5. dynamic elasticity,
  6. dynamic round,
  7. ReadonlyArray<AnimeAnimParams>? keyframes,
  8. dynamic easing,
  9. AnimeCallbackFunction? begin,
  10. AnimeCallbackFunction? change,
  11. AnimeCallbackFunction? update,
  12. AnimeCallbackFunction? complete,
  13. AnimeCallbackFunction? loopBegin,
  14. AnimeCallbackFunction? loopComplete,
  15. AnimeCallbackFunction? changeBegin,
  16. AnimeCallbackFunction? changeComplete,
})

Implementation

factory AnimeAnimParams({
  _i2.dynamic targets,
  _i2.dynamic duration,
  _i2.dynamic delay,
  _i2.dynamic endDelay,
  _i2.dynamic elasticity,
  _i2.dynamic round,
  _i7.ReadonlyArray<_i4.AnimeAnimParams>? keyframes,
  _i2.dynamic easing,
  _i4.AnimeCallbackFunction? begin,
  _i4.AnimeCallbackFunction? change,
  _i4.AnimeCallbackFunction? update,
  _i4.AnimeCallbackFunction? complete,
  _i4.AnimeCallbackFunction? loopBegin,
  _i4.AnimeCallbackFunction? loopComplete,
  _i4.AnimeCallbackFunction? changeBegin,
  _i4.AnimeCallbackFunction? changeComplete,
}) =>
    AnimeAnimParams._(
      targets: targets,
      duration: duration,
      delay: delay,
      endDelay: endDelay,
      elasticity: elasticity,
      round: round,
      keyframes: keyframes ?? _i5.undefined,
      easing: easing,
      begin: begin == null ? _i5.undefined : _i6.allowInterop(begin),
      change: change == null ? _i5.undefined : _i6.allowInterop(change),
      update: update == null ? _i5.undefined : _i6.allowInterop(update),
      complete: complete == null ? _i5.undefined : _i6.allowInterop(complete),
      loopBegin:
          loopBegin == null ? _i5.undefined : _i6.allowInterop(loopBegin),
      loopComplete: loopComplete == null
          ? _i5.undefined
          : _i6.allowInterop(loopComplete),
      changeBegin:
          changeBegin == null ? _i5.undefined : _i6.allowInterop(changeBegin),
      changeComplete: changeComplete == null
          ? _i5.undefined
          : _i6.allowInterop(changeComplete),
    );