copyWith method
Implementation
RCKInputButtonConfig copyWith({
Widget? icon,
Widget? activeIcon,
double? size,
double? spacing,
Color? color,
Color? activeColor,
bool? visible,
}) {
return RCKInputButtonConfig(
icon: icon ?? this.icon,
activeIcon: activeIcon ?? this.activeIcon,
size: size ?? this.size,
spacing: spacing ?? this.spacing,
color: color ?? this.color,
activeColor: activeColor ?? this.activeColor,
visible: visible ?? this.visible,
);
}