AnimeTimelineInstance constructor
AnimeTimelineInstance({
- AnimeTimelineInstance add(])?,
- bool? began,
- bool? paused,
- bool? completed,
- Future<
void> ? finished, - bool? autoplay,
- num? currentTime,
- num? delay,
- String? direction,
- num? duration,
- Object? loop,
- num? timelineOffset,
- num? progress,
- num? remaining,
- bool? reversed,
- ReadonlyArray<
Animatable> ? animatables, - ReadonlyArray<
Animation> ? animations, - void play()?,
- void pause()?,
- void restart()?,
- void reverse()?,
- void seek()?,
- void tick()?,
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),
);