copyWith method
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,
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,
);
}