copyWith method
VChipSelectionStyle
copyWith({
- Color? backgroundDisabledColor,
- dynamic backgroundReadOnlyColor,
- dynamic backgroundIsSelectedColor,
- dynamic backgroundPressedColor,
- dynamic backgroundDefaultColor,
- dynamic backgroundSelectedPressed,
- dynamic chipLabelReadOnlyColor,
- dynamic chipLabelDisabledColor,
- dynamic chipLabelSelectedColor,
- dynamic chipLabelDefaultColor,
- dynamic borderReadOnlyColor,
- dynamic borderDisabledColor,
- dynamic borderSelectedColor,
- dynamic borderDefaultColor,
- dynamic iconReadOnlyColor,
- dynamic iconDisabledColor,
- dynamic iconDefaultColor,
- double? borderRadius,
- dynamic elevation,
- dynamic pressedElevation,
- 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,
);