FFAutoPlayOptions constructor
FFAutoPlayOptions({
- bool? legacyAutoPlayEnabled,
- int? legacyAnimationDuration,
- int? legacyAnimationDelay,
- bool? legacyReplayAtLastItem,
- FFBooleanValue? autoPlayEnabledValue,
- FFIntegerValue? animationDurationValue,
- FFIntegerValue? animationDelayValue,
- FFBooleanValue? replayAtLastItemValue,
Implementation
factory FFAutoPlayOptions({
$core.bool? legacyAutoPlayEnabled,
$core.int? legacyAnimationDuration,
$core.int? legacyAnimationDelay,
$core.bool? legacyReplayAtLastItem,
FFBooleanValue? autoPlayEnabledValue,
FFIntegerValue? animationDurationValue,
FFIntegerValue? animationDelayValue,
FFBooleanValue? replayAtLastItemValue,
}) {
final result = create();
if (legacyAutoPlayEnabled != null)
result.legacyAutoPlayEnabled = legacyAutoPlayEnabled;
if (legacyAnimationDuration != null)
result.legacyAnimationDuration = legacyAnimationDuration;
if (legacyAnimationDelay != null)
result.legacyAnimationDelay = legacyAnimationDelay;
if (legacyReplayAtLastItem != null)
result.legacyReplayAtLastItem = legacyReplayAtLastItem;
if (autoPlayEnabledValue != null)
result.autoPlayEnabledValue = autoPlayEnabledValue;
if (animationDurationValue != null)
result.animationDurationValue = animationDurationValue;
if (animationDelayValue != null)
result.animationDelayValue = animationDelayValue;
if (replayAtLastItemValue != null)
result.replayAtLastItemValue = replayAtLastItemValue;
return result;
}