copyWith method

  1. @override
VChipRemovableStyle copyWith({
  1. Color? backgroundColor,
  2. dynamic chipLabelDisabledColor,
  3. dynamic chipLabelColor,
  4. dynamic borderReadOnlyColor,
  5. dynamic borderDisabledColor,
  6. dynamic borderDefaultColor,
  7. dynamic borderCompactChipColor,
  8. dynamic borderPressedColor,
  9. dynamic iconPressedColor,
  10. dynamic iconDisabledColor,
  11. dynamic iconDefaultColor,
  12. dynamic deleteButtonSplashColor,
  13. dynamic deleteButtonBackgroundColor,
  14. double? standardBorderRadius,
  15. dynamic compactBorderRadius,
  16. dynamic elevation,
  17. dynamic pressedElevation,
  18. 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,
    );