AnimeTimelineInstance constructor

AnimeTimelineInstance({
  1. AnimeTimelineInstance add(
    1. AnimeAnimParams, [
    2. Object?
    ])?,
  2. bool? began,
  3. bool? paused,
  4. bool? completed,
  5. Future<void>? finished,
  6. bool? autoplay,
  7. num? currentTime,
  8. num? delay,
  9. String? direction,
  10. num? duration,
  11. Object? loop,
  12. num? timelineOffset,
  13. num? progress,
  14. num? remaining,
  15. bool? reversed,
  16. ReadonlyArray<Animatable>? animatables,
  17. ReadonlyArray<Animation>? animations,
  18. void play()?,
  19. void pause()?,
  20. void restart()?,
  21. void reverse()?,
  22. void seek(
    1. num
    )?,
  23. void tick(
    1. num
    )?,
})

Implementation

factory AnimeTimelineInstance({
  _i4.AnimeTimelineInstance Function(
    _i4.AnimeAnimParams, [
    _i2.Object?,
  ])? add,
  _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,
}) =>
    AnimeTimelineInstance._(
      add: add == null ? null : _i6.allowInterop(add),
      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),
    );