copyWith method

NeuronTransitionSpec copyWith({
  1. Duration? duration,
  2. Duration? reverseDuration,
  3. Curve? curve,
  4. Curve? reverseCurve,
  5. Alignment? alignment,
  6. double? parallax,
  7. double? blurSigma,
})

Implementation

NeuronTransitionSpec copyWith({
  Duration? duration,
  Duration? reverseDuration,
  Curve? curve,
  Curve? reverseCurve,
  Alignment? alignment,
  double? parallax,
  double? blurSigma,
}) {
  return NeuronTransitionSpec(
    duration: duration ?? this.duration,
    reverseDuration: reverseDuration ?? this.reverseDuration,
    curve: curve ?? this.curve,
    reverseCurve: reverseCurve ?? this.reverseCurve,
    alignment: alignment ?? this.alignment,
    parallax: parallax ?? this.parallax,
    blurSigma: blurSigma ?? this.blurSigma,
  );
}