copyWith method

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

Implementation

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