copyWith method
Creates a copy of this options but with the given fields replaced with the new values.
Implementation
LiveOptions copyWith({
Duration delay,
Duration showItemInterval,
Duration showItemDuration,
double visibleFraction,
bool reAnimateOnVisibility,
}) =>
LiveOptions(
delay: delay ?? this.delay,
showItemInterval: showItemInterval ?? this.showItemInterval,
showItemDuration: showItemDuration ?? this.showItemDuration,
visibleFraction: visibleFraction ?? this.visibleFraction,
reAnimateOnVisibility:
reAnimateOnVisibility ?? this.reAnimateOnVisibility,
);