copyWith method

  1. @override
VChipSelectionStyle copyWith({
  1. Color? backgroundDisabledColor,
  2. dynamic backgroundReadOnlyColor,
  3. dynamic backgroundIsSelectedColor,
  4. dynamic backgroundPressedColor,
  5. dynamic backgroundDefaultColor,
  6. dynamic backgroundSelectedPressed,
  7. dynamic chipLabelReadOnlyColor,
  8. dynamic chipLabelDisabledColor,
  9. dynamic chipLabelSelectedColor,
  10. dynamic chipLabelDefaultColor,
  11. dynamic borderReadOnlyColor,
  12. dynamic borderDisabledColor,
  13. dynamic borderSelectedColor,
  14. dynamic borderDefaultColor,
  15. dynamic iconReadOnlyColor,
  16. dynamic iconDisabledColor,
  17. dynamic iconDefaultColor,
  18. double? borderRadius,
  19. dynamic elevation,
  20. dynamic pressedElevation,
  21. TextStyle? chipLabelTextStyle,
})
override

Creates a copy of this theme extension with the given fields replaced by the non-null parameter values.

Implementation

@override
VChipSelectionStyle copyWith({
  Color? backgroundDisabledColor,
  backgroundReadOnlyColor,
  backgroundIsSelectedColor,
  backgroundPressedColor,
  backgroundDefaultColor,
  backgroundSelectedPressed,
  chipLabelReadOnlyColor,
  chipLabelDisabledColor,
  chipLabelSelectedColor,
  chipLabelDefaultColor,
  borderReadOnlyColor,
  borderDisabledColor,
  borderSelectedColor,
  borderDefaultColor,
  iconReadOnlyColor,
  iconDisabledColor,
  iconDefaultColor,
  double? borderRadius,
  elevation,
  pressedElevation,
  TextStyle? chipLabelTextStyle,
}) =>
    VChipSelectionStyle(
      backgroundDisabledColor: backgroundDisabledColor ?? this.backgroundDisabledColor,
      backgroundReadOnlyColor: backgroundReadOnlyColor ?? this.backgroundReadOnlyColor,
      backgroundIsSelectedColor: backgroundIsSelectedColor ?? this.backgroundIsSelectedColor,
      backgroundPressedColor: backgroundPressedColor ?? this.backgroundPressedColor,
      backgroundDefaultColor: backgroundDefaultColor ?? this.backgroundDefaultColor,
      backgroundSelectedPressed: backgroundSelectedPressed ?? this.backgroundSelectedPressed,
      chipLabelReadOnlyColor: chipLabelReadOnlyColor ?? this.chipLabelReadOnlyColor,
      chipLabelDisabledColor: chipLabelDisabledColor ?? this.chipLabelDisabledColor,
      chipLabelSelectedColor: chipLabelSelectedColor ?? this.chipLabelSelectedColor,
      chipLabelDefaultColor: chipLabelDefaultColor ?? this.chipLabelDefaultColor,
      borderReadOnlyColor: borderReadOnlyColor ?? this.borderReadOnlyColor,
      borderDisabledColor: borderDisabledColor ?? this.borderDisabledColor,
      borderSelectedColor: borderSelectedColor ?? this.borderSelectedColor,
      borderDefaultColor: borderDefaultColor ?? this.borderDefaultColor,
      iconReadOnlyColor: iconReadOnlyColor ?? this.iconReadOnlyColor,
      iconDisabledColor: iconDisabledColor ?? this.iconDisabledColor,
      iconDefaultColor: iconDefaultColor ?? this.iconDefaultColor,
      borderRadius: borderRadius ?? this.borderRadius,
      elevation: elevation ?? this.elevation,
      pressedElevation: pressedElevation ?? this.pressedElevation,
      chipLabelTextStyle: chipLabelTextStyle ?? this.chipLabelTextStyle,
    );