copyWith method
copyWith
is a function that returns a new instance of the current class with the given
parameters
Implementation
ZeroChipOutlinedStyle copyWith({
Color? borderColor,
TextStyle? textStyle,
Color? iconColor,
}) {
return ZeroChipOutlinedStyle(
borderColor: borderColor ?? this.borderColor,
textStyle: textStyle ?? this.textStyle,
iconColor: iconColor ?? this.iconColor,
);
}