copyWith method

PageBlockAnimation copyWith({
  1. Animation? animation,
  2. PageBlockCaption? caption,
  3. bool? needAutoplay,
  4. bool? hasSpoiler,
})

Implementation

PageBlockAnimation copyWith({
  Animation? animation,
  PageBlockCaption? caption,
  bool? needAutoplay,
  bool? hasSpoiler,
}) =>
    PageBlockAnimation(
      animation: animation ?? this.animation,
      caption: caption ?? this.caption,
      needAutoplay: needAutoplay ?? this.needAutoplay,
      hasSpoiler: hasSpoiler ?? this.hasSpoiler,
    );