AnimeInstance constructor
AnimeInstance({
- 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()?,
- AnimeCallbackFunction? begin,
- AnimeCallbackFunction? change,
- AnimeCallbackFunction? update,
- AnimeCallbackFunction? complete,
- AnimeCallbackFunction? loopBegin,
- AnimeCallbackFunction? loopComplete,
- AnimeCallbackFunction? changeBegin,
- 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),
);