copyWith method

CircularDecorator copyWith({
  1. Color? selectedColor,
  2. TextStyle? textStyle,
  3. Color? color,
  4. Color? borderColor,
  5. Color? textColor,
  6. Color? selectedTextColor,
})

Implementation

CircularDecorator copyWith({
  Color? selectedColor,
  TextStyle? textStyle,
  Color? color,
  Color? borderColor,
  Color? textColor,
  Color? selectedTextColor,
}) {
  return CircularDecorator(
    selectedColor: selectedColor ?? this.selectedColor,
    textStyle: textStyle ?? this.textStyle,
    color: color ?? this.color,
    borderColor: borderColor ?? this.borderColor,
    textColor: textColor ?? this.textColor,
    selectedTextColor: selectedTextColor ?? this.selectedTextColor,
  );
}