copyWith method
VChipRemovableStyle
copyWith({
- Color? backgroundColor,
- dynamic chipLabelDisabledColor,
- dynamic chipLabelColor,
- dynamic borderReadOnlyColor,
- dynamic borderDisabledColor,
- dynamic borderDefaultColor,
- dynamic borderCompactChipColor,
- dynamic borderPressedColor,
- dynamic iconPressedColor,
- dynamic iconDisabledColor,
- dynamic iconDefaultColor,
- dynamic deleteButtonSplashColor,
- dynamic deleteButtonBackgroundColor,
- double? standardBorderRadius,
- dynamic compactBorderRadius,
- 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
VChipRemovableStyle copyWith({
Color? backgroundColor,
chipLabelDisabledColor,
chipLabelColor,
borderReadOnlyColor,
borderDisabledColor,
borderDefaultColor,
borderCompactChipColor,
borderPressedColor,
iconPressedColor,
iconDisabledColor,
iconDefaultColor,
deleteButtonSplashColor,
deleteButtonBackgroundColor,
double? standardBorderRadius,
compactBorderRadius,
elevation,
pressedElevation,
TextStyle? chipLabelTextStyle,
}) =>
VChipRemovableStyle(
backgroundColor: backgroundColor ?? this.backgroundColor,
chipLabelColor: chipLabelColor ?? this.chipLabelColor,
chipLabelDisabledColor: chipLabelDisabledColor ?? this.chipLabelDisabledColor,
borderReadOnlyColor: borderReadOnlyColor ?? this.borderReadOnlyColor,
borderDisabledColor: borderDisabledColor ?? this.borderDisabledColor,
borderDefaultColor: borderDefaultColor ?? this.borderDefaultColor,
borderPressedColor: borderPressedColor ?? this.borderPressedColor,
iconPressedColor: iconPressedColor ?? this.iconPressedColor,
iconDisabledColor: iconDisabledColor ?? this.iconDisabledColor,
iconDefaultColor: iconDefaultColor ?? this.iconDefaultColor,
deleteButtonSplashColor: deleteButtonSplashColor ?? this.deleteButtonSplashColor,
deleteButtonBackgroundColor: deleteButtonBackgroundColor ?? this.deleteButtonBackgroundColor,
borderCompactChipColor: borderCompactChipColor ?? this.borderCompactChipColor,
compactBorderRadius: compactBorderRadius ?? this.compactBorderRadius,
standardBorderRadius: standardBorderRadius ?? this.compactBorderRadius,
elevation: elevation ?? this.elevation,
pressedElevation: pressedElevation ?? this.pressedElevation,
chipLabelTextStyle: chipLabelTextStyle ?? this.chipLabelTextStyle,
);