copyWith method

AntdMapToken copyWith({
  1. AntdSizeDefine? size,
  2. AntdRadiusDefine? radius,
  3. AntdColorDefine? colorInfo,
  4. AntdColorDefine? colorLink,
  5. AntdColorDefine? colorPrimary,
  6. AntdColorDefine? colorSuccess,
  7. AntdColorDefine? colorWarning,
  8. AntdColorDefine? colorError,
  9. AntdTextColorDefine? colorText,
  10. AntdFontDefine? font,
  11. AntdFillColorDefine? colorFill,
  12. Color? colorBgBlur,
  13. Color? colorBgContainer,
  14. Color? colorBgElevated,
  15. Color? colorBgLayout,
  16. Color? colorBgMask,
  17. Color? colorBgSolid,
  18. Color? colorBgSolidActive,
  19. Color? colorBgSpotlight,
  20. BorderSide? border,
  21. BorderSide? borderSecondary,
  22. double? lineWidth,
  23. Color? colorWhite,
  24. Color? colorTransparent,
  25. Color? colorBlack,
  26. FontWeight? fontWeightStrong,
  27. AntdShadowDefine? shadow,
})

Implementation

AntdMapToken copyWith({
  AntdSizeDefine? size,
  AntdRadiusDefine? radius,
  AntdColorDefine? colorInfo,
  AntdColorDefine? colorLink,
  AntdColorDefine? colorPrimary,
  AntdColorDefine? colorSuccess,
  AntdColorDefine? colorWarning,
  AntdColorDefine? colorError,
  AntdTextColorDefine? colorText,
  AntdFontDefine? font,
  AntdFillColorDefine? colorFill,
  Color? colorBgBlur,
  Color? colorBgContainer,
  Color? colorBgElevated,
  Color? colorBgLayout,
  Color? colorBgMask,
  Color? colorBgSolid,
  Color? colorBgSolidActive,
  Color? colorBgSpotlight,
  BorderSide? border,
  BorderSide? borderSecondary,
  double? lineWidth,
  Color? colorWhite,
  Color? colorTransparent,
  Color? colorBlack,
  FontWeight? fontWeightStrong,
  AntdShadowDefine? shadow,
}) {
  return AntdMapToken(
    size: size ?? this.size,
    radius: radius ?? this.radius,
    colorInfo: colorInfo ?? this.colorInfo,
    colorLink: colorLink ?? this.colorLink,
    colorPrimary: colorPrimary ?? this.colorPrimary,
    colorSuccess: colorSuccess ?? this.colorSuccess,
    colorWarning: colorWarning ?? this.colorWarning,
    colorError: colorError ?? this.colorError,
    colorText: colorText ?? this.colorText,
    font: font ?? this.font,
    colorFill: colorFill ?? this.colorFill,
    colorBgBlur: colorBgBlur ?? this.colorBgBlur,
    colorBgContainer: colorBgContainer ?? this.colorBgContainer,
    colorBgElevated: colorBgElevated ?? this.colorBgElevated,
    colorBgLayout: colorBgLayout ?? this.colorBgLayout,
    colorBgMask: colorBgMask ?? this.colorBgMask,
    colorBgSolid: colorBgSolid ?? this.colorBgSolid,
    colorBgSolidActive: colorBgSolidActive ?? this.colorBgSolidActive,
    colorBgSpotlight: colorBgSpotlight ?? this.colorBgSpotlight,
    border: border ?? this.border,
    borderSecondary: borderSecondary ?? this.borderSecondary,
    lineWidth: lineWidth ?? this.lineWidth,
    colorWhite: colorWhite ?? this.colorWhite,
    colorTransparent: colorTransparent ?? this.colorTransparent,
    colorBlack: colorBlack ?? this.colorBlack,
    fontWeightStrong: fontWeightStrong ?? this.fontWeightStrong,
    shadow: shadow ?? this.shadow,
  );
}