copyWith method
copyWith
is a function that returns a new instance of ZeroChipFilledStyle
with the properties
of the current instance, except for the ones that are passed as arguments to the function
Implementation
ZeroChipFilledStyle copyWith({
Color? backgroundColor,
TextStyle? textStyle,
Color? iconColor,
}) {
return ZeroChipFilledStyle(
backgroundColor: backgroundColor ?? this.backgroundColor,
textStyle: textStyle ?? this.textStyle,
iconColor: iconColor ?? this.iconColor,
);
}