AnimeInstance constructor

AnimeInstance({
  1. bool? began,
  2. bool? paused,
  3. bool? completed,
  4. Future<void>? finished,
  5. bool? autoplay,
  6. num? currentTime,
  7. num? delay,
  8. String? direction,
  9. num? duration,
  10. Object? loop,
  11. num? timelineOffset,
  12. num? progress,
  13. num? remaining,
  14. bool? reversed,
  15. ReadonlyArray<Animatable>? animatables,
  16. ReadonlyArray<Animation>? animations,
  17. void play()?,
  18. void pause()?,
  19. void restart()?,
  20. void reverse()?,
  21. void seek(
    1. num
    )?,
  22. void tick(
    1. num
    )?,
  23. AnimeCallbackFunction? begin,
  24. AnimeCallbackFunction? change,
  25. AnimeCallbackFunction? update,
  26. AnimeCallbackFunction? complete,
  27. AnimeCallbackFunction? loopBegin,
  28. AnimeCallbackFunction? loopComplete,
  29. AnimeCallbackFunction? changeBegin,
  30. AnimeCallbackFunction? changeComplete,
})

Implementation

factory AnimeInstance({
  _i2.bool? began,
  _i2.bool? paused,
  _i2.bool? completed,
  _i2.Future<void>? finished,
  _i2.bool? autoplay,
  _i2.num? currentTime,
  _i2.num? delay,
  _i2.String? direction,
  _i2.num? duration,
  _i2.Object? loop,
  _i2.num? timelineOffset,
  _i2.num? progress,
  _i2.num? remaining,
  _i2.bool? reversed,
  _i7.ReadonlyArray<_i4.Animatable>? animatables,
  _i7.ReadonlyArray<_i4.Animation>? animations,
  void Function()? play,
  void Function()? pause,
  void Function()? restart,
  void Function()? reverse,
  void Function(_i2.num)? seek,
  void Function(_i2.num)? tick,
  _i4.AnimeCallbackFunction? begin,
  _i4.AnimeCallbackFunction? change,
  _i4.AnimeCallbackFunction? update,
  _i4.AnimeCallbackFunction? complete,
  _i4.AnimeCallbackFunction? loopBegin,
  _i4.AnimeCallbackFunction? loopComplete,
  _i4.AnimeCallbackFunction? changeBegin,
  _i4.AnimeCallbackFunction? changeComplete,
}) =>
    AnimeInstance._(
      began: began,
      paused: paused,
      completed: completed,
      finished: finished,
      autoplay: autoplay,
      currentTime: currentTime,
      delay: delay,
      direction: direction,
      duration: duration,
      loop: loop ?? _i5.undefined,
      timelineOffset: timelineOffset,
      progress: progress,
      remaining: remaining,
      reversed: reversed,
      animatables: animatables ?? _i5.undefined,
      animations: animations ?? _i5.undefined,
      play: play == null ? null : _i6.allowInterop(play),
      pause: pause == null ? null : _i6.allowInterop(pause),
      restart: restart == null ? null : _i6.allowInterop(restart),
      reverse: reverse == null ? null : _i6.allowInterop(reverse),
      seek: seek == null ? null : _i6.allowInterop(seek),
      tick: tick == null ? null : _i6.allowInterop(tick),
      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),
    );