copyWith method
Creates a copy of this object but with the given fields replaced with the new values.
Implementation
NeoPopTiltedButtonDecoration copyWith({
Color? color,
Color? disabledColor,
Color? disabledPlunkColor,
Color? shadowColor,
double? shimmerWidth,
Color? shimmerColor,
Duration? shimmerDuration,
Duration? shimmerDelay,
bool? showShimmer,
Color? shimmerPlunkColor,
Border? border,
}) {
return NeoPopTiltedButtonDecoration(
color: color ?? this.color,
disabledColor: disabledColor ?? this.disabledColor,
disabledPlunkColor: disabledPlunkColor ?? this.disabledPlunkColor,
shadowColor: shadowColor ?? this.shadowColor,
shimmerWidth: shimmerWidth ?? this.shimmerWidth,
shimmerColor: shimmerColor ?? this.shimmerColor,
shimmerDuration: shimmerDuration ?? this.shimmerDuration,
shimmerDelay: shimmerDelay ?? this.shimmerDelay,
showShimmer: showShimmer ?? this.showShimmer,
shimmerPlunkColor: shimmerPlunkColor ?? this.shimmerPlunkColor,
border: border ?? this.border,
);
}