copyWith method
Implementation
BackgroundParams copyWith({
bool? animatedBlur,
double? sigmaX,
double? sigmaY,
bool? animatedBackgroundColor,
Color? backgroundColor,
}) {
return BackgroundParams(
animatedBlur: animatedBlur ?? this.animatedBlur,
sigmaX: sigmaX ?? this.sigmaX,
sigmaY: sigmaY ?? this.sigmaY,
animatedBackgroundColor:
animatedBackgroundColor ?? this.animatedBackgroundColor,
backgroundColor: backgroundColor ?? this.backgroundColor,
);
}