AnimeInstanceParams constructor

AnimeInstanceParams({
  1. dynamic loop,
  2. bool? autoplay,
  3. dynamic direction,
  4. AnimeCallbackFunction? begin,
  5. AnimeCallbackFunction? change,
  6. AnimeCallbackFunction? update,
  7. AnimeCallbackFunction? complete,
  8. AnimeCallbackFunction? loopBegin,
  9. AnimeCallbackFunction? loopComplete,
  10. AnimeCallbackFunction? changeBegin,
  11. AnimeCallbackFunction? changeComplete,
})

Implementation

factory AnimeInstanceParams({
  _i2.dynamic loop,
  _i2.bool? autoplay,
  _i2.dynamic direction,
  _i4.AnimeCallbackFunction? begin,
  _i4.AnimeCallbackFunction? change,
  _i4.AnimeCallbackFunction? update,
  _i4.AnimeCallbackFunction? complete,
  _i4.AnimeCallbackFunction? loopBegin,
  _i4.AnimeCallbackFunction? loopComplete,
  _i4.AnimeCallbackFunction? changeBegin,
  _i4.AnimeCallbackFunction? changeComplete,
}) =>
    AnimeInstanceParams._(
      loop: loop,
      autoplay: autoplay ?? _i5.undefined,
      direction: direction,
      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),
    );