copyWith method

ZeroChipOutlinedStyle copyWith({
  1. Color? borderColor,
  2. TextStyle? textStyle,
  3. Color? iconColor,
})

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,
  );
}