copyWith method
FlyColorToken
copyWith({
- Color? red50,
- Color? red100,
- Color? red200,
- Color? red300,
- Color? red400,
- Color? red500,
- Color? red600,
- Color? red700,
- Color? red800,
- Color? red900,
- Color? red950,
- Color? orange50,
- Color? orange100,
- Color? orange200,
- Color? orange300,
- Color? orange400,
- Color? orange500,
- Color? orange600,
- Color? orange700,
- Color? orange800,
- Color? orange900,
- Color? orange950,
- Color? amber50,
- Color? amber100,
- Color? amber200,
- Color? amber300,
- Color? amber400,
- Color? amber500,
- Color? amber600,
- Color? amber700,
- Color? amber800,
- Color? amber900,
- Color? amber950,
- Color? yellow50,
- Color? yellow100,
- Color? yellow200,
- Color? yellow300,
- Color? yellow400,
- Color? yellow500,
- Color? yellow600,
- Color? yellow700,
- Color? yellow800,
- Color? yellow900,
- Color? yellow950,
- Color? lime50,
- Color? lime100,
- Color? lime200,
- Color? lime300,
- Color? lime400,
- Color? lime500,
- Color? lime600,
- Color? lime700,
- Color? lime800,
- Color? lime900,
- Color? lime950,
- Color? green50,
- Color? green100,
- Color? green200,
- Color? green300,
- Color? green400,
- Color? green500,
- Color? green600,
- Color? green700,
- Color? green800,
- Color? green900,
- Color? green950,
- Color? emerald50,
- Color? emerald100,
- Color? emerald200,
- Color? emerald300,
- Color? emerald400,
- Color? emerald500,
- Color? emerald600,
- Color? emerald700,
- Color? emerald800,
- Color? emerald900,
- Color? emerald950,
- Color? teal50,
- Color? teal100,
- Color? teal200,
- Color? teal300,
- Color? teal400,
- Color? teal500,
- Color? teal600,
- Color? teal700,
- Color? teal800,
- Color? teal900,
- Color? teal950,
- Color? cyan50,
- Color? cyan100,
- Color? cyan200,
- Color? cyan300,
- Color? cyan400,
- Color? cyan500,
- Color? cyan600,
- Color? cyan700,
- Color? cyan800,
- Color? cyan900,
- Color? cyan950,
- Color? sky50,
- Color? sky100,
- Color? sky200,
- Color? sky300,
- Color? sky400,
- Color? sky500,
- Color? sky600,
- Color? sky700,
- Color? sky800,
- Color? sky900,
- Color? sky950,
- Color? blue50,
- Color? blue100,
- Color? blue200,
- Color? blue300,
- Color? blue400,
- Color? blue500,
- Color? blue600,
- Color? blue700,
- Color? blue800,
- Color? blue900,
- Color? blue950,
- Color? indigo50,
- Color? indigo100,
- Color? indigo200,
- Color? indigo300,
- Color? indigo400,
- Color? indigo500,
- Color? indigo600,
- Color? indigo700,
- Color? indigo800,
- Color? indigo900,
- Color? indigo950,
- Color? violet50,
- Color? violet100,
- Color? violet200,
- Color? violet300,
- Color? violet400,
- Color? violet500,
- Color? violet600,
- Color? violet700,
- Color? violet800,
- Color? violet900,
- Color? violet950,
- Color? purple50,
- Color? purple100,
- Color? purple200,
- Color? purple300,
- Color? purple400,
- Color? purple500,
- Color? purple600,
- Color? purple700,
- Color? purple800,
- Color? purple900,
- Color? purple950,
- Color? fuchsia50,
- Color? fuchsia100,
- Color? fuchsia200,
- Color? fuchsia300,
- Color? fuchsia400,
- Color? fuchsia500,
- Color? fuchsia600,
- Color? fuchsia700,
- Color? fuchsia800,
- Color? fuchsia900,
- Color? fuchsia950,
- Color? pink50,
- Color? pink100,
- Color? pink200,
- Color? pink300,
- Color? pink400,
- Color? pink500,
- Color? pink600,
- Color? pink700,
- Color? pink800,
- Color? pink900,
- Color? pink950,
- Color? rose50,
- Color? rose100,
- Color? rose200,
- Color? rose300,
- Color? rose400,
- Color? rose500,
- Color? rose600,
- Color? rose700,
- Color? rose800,
- Color? rose900,
- Color? rose950,
- Color? slate50,
- Color? slate100,
- Color? slate200,
- Color? slate300,
- Color? slate400,
- Color? slate500,
- Color? slate600,
- Color? slate700,
- Color? slate800,
- Color? slate900,
- Color? slate950,
- Color? gray50,
- Color? gray100,
- Color? gray200,
- Color? gray300,
- Color? gray400,
- Color? gray500,
- Color? gray600,
- Color? gray700,
- Color? gray800,
- Color? gray900,
- Color? gray950,
- Color? zinc50,
- Color? zinc100,
- Color? zinc200,
- Color? zinc300,
- Color? zinc400,
- Color? zinc500,
- Color? zinc600,
- Color? zinc700,
- Color? zinc800,
- Color? zinc900,
- Color? zinc950,
- Color? neutral50,
- Color? neutral100,
- Color? neutral200,
- Color? neutral300,
- Color? neutral400,
- Color? neutral500,
- Color? neutral600,
- Color? neutral700,
- Color? neutral800,
- Color? neutral900,
- Color? neutral950,
- Color? stone50,
- Color? stone100,
- Color? stone200,
- Color? stone300,
- Color? stone400,
- Color? stone500,
- Color? stone600,
- Color? stone700,
- Color? stone800,
- Color? stone900,
- Color? stone950,
- Color? black,
- Color? white,
- Map<
String, Color> ? extras,
Create a copy with updated values
Implementation
FlyColorToken copyWith({
Color? red50,
Color? red100,
Color? red200,
Color? red300,
Color? red400,
Color? red500,
Color? red600,
Color? red700,
Color? red800,
Color? red900,
Color? red950,
Color? orange50,
Color? orange100,
Color? orange200,
Color? orange300,
Color? orange400,
Color? orange500,
Color? orange600,
Color? orange700,
Color? orange800,
Color? orange900,
Color? orange950,
Color? amber50,
Color? amber100,
Color? amber200,
Color? amber300,
Color? amber400,
Color? amber500,
Color? amber600,
Color? amber700,
Color? amber800,
Color? amber900,
Color? amber950,
Color? yellow50,
Color? yellow100,
Color? yellow200,
Color? yellow300,
Color? yellow400,
Color? yellow500,
Color? yellow600,
Color? yellow700,
Color? yellow800,
Color? yellow900,
Color? yellow950,
Color? lime50,
Color? lime100,
Color? lime200,
Color? lime300,
Color? lime400,
Color? lime500,
Color? lime600,
Color? lime700,
Color? lime800,
Color? lime900,
Color? lime950,
Color? green50,
Color? green100,
Color? green200,
Color? green300,
Color? green400,
Color? green500,
Color? green600,
Color? green700,
Color? green800,
Color? green900,
Color? green950,
Color? emerald50,
Color? emerald100,
Color? emerald200,
Color? emerald300,
Color? emerald400,
Color? emerald500,
Color? emerald600,
Color? emerald700,
Color? emerald800,
Color? emerald900,
Color? emerald950,
Color? teal50,
Color? teal100,
Color? teal200,
Color? teal300,
Color? teal400,
Color? teal500,
Color? teal600,
Color? teal700,
Color? teal800,
Color? teal900,
Color? teal950,
Color? cyan50,
Color? cyan100,
Color? cyan200,
Color? cyan300,
Color? cyan400,
Color? cyan500,
Color? cyan600,
Color? cyan700,
Color? cyan800,
Color? cyan900,
Color? cyan950,
Color? sky50,
Color? sky100,
Color? sky200,
Color? sky300,
Color? sky400,
Color? sky500,
Color? sky600,
Color? sky700,
Color? sky800,
Color? sky900,
Color? sky950,
Color? blue50,
Color? blue100,
Color? blue200,
Color? blue300,
Color? blue400,
Color? blue500,
Color? blue600,
Color? blue700,
Color? blue800,
Color? blue900,
Color? blue950,
Color? indigo50,
Color? indigo100,
Color? indigo200,
Color? indigo300,
Color? indigo400,
Color? indigo500,
Color? indigo600,
Color? indigo700,
Color? indigo800,
Color? indigo900,
Color? indigo950,
Color? violet50,
Color? violet100,
Color? violet200,
Color? violet300,
Color? violet400,
Color? violet500,
Color? violet600,
Color? violet700,
Color? violet800,
Color? violet900,
Color? violet950,
Color? purple50,
Color? purple100,
Color? purple200,
Color? purple300,
Color? purple400,
Color? purple500,
Color? purple600,
Color? purple700,
Color? purple800,
Color? purple900,
Color? purple950,
Color? fuchsia50,
Color? fuchsia100,
Color? fuchsia200,
Color? fuchsia300,
Color? fuchsia400,
Color? fuchsia500,
Color? fuchsia600,
Color? fuchsia700,
Color? fuchsia800,
Color? fuchsia900,
Color? fuchsia950,
Color? pink50,
Color? pink100,
Color? pink200,
Color? pink300,
Color? pink400,
Color? pink500,
Color? pink600,
Color? pink700,
Color? pink800,
Color? pink900,
Color? pink950,
Color? rose50,
Color? rose100,
Color? rose200,
Color? rose300,
Color? rose400,
Color? rose500,
Color? rose600,
Color? rose700,
Color? rose800,
Color? rose900,
Color? rose950,
Color? slate50,
Color? slate100,
Color? slate200,
Color? slate300,
Color? slate400,
Color? slate500,
Color? slate600,
Color? slate700,
Color? slate800,
Color? slate900,
Color? slate950,
Color? gray50,
Color? gray100,
Color? gray200,
Color? gray300,
Color? gray400,
Color? gray500,
Color? gray600,
Color? gray700,
Color? gray800,
Color? gray900,
Color? gray950,
Color? zinc50,
Color? zinc100,
Color? zinc200,
Color? zinc300,
Color? zinc400,
Color? zinc500,
Color? zinc600,
Color? zinc700,
Color? zinc800,
Color? zinc900,
Color? zinc950,
Color? neutral50,
Color? neutral100,
Color? neutral200,
Color? neutral300,
Color? neutral400,
Color? neutral500,
Color? neutral600,
Color? neutral700,
Color? neutral800,
Color? neutral900,
Color? neutral950,
Color? stone50,
Color? stone100,
Color? stone200,
Color? stone300,
Color? stone400,
Color? stone500,
Color? stone600,
Color? stone700,
Color? stone800,
Color? stone900,
Color? stone950,
Color? black,
Color? white,
Map<String, Color>? extras,
}) {
return FlyColorToken(
red50: red50 ?? this.red50,
red100: red100 ?? this.red100,
red200: red200 ?? this.red200,
red300: red300 ?? this.red300,
red400: red400 ?? this.red400,
red500: red500 ?? this.red500,
red600: red600 ?? this.red600,
red700: red700 ?? this.red700,
red800: red800 ?? this.red800,
red900: red900 ?? this.red900,
red950: red950 ?? this.red950,
orange50: orange50 ?? this.orange50,
orange100: orange100 ?? this.orange100,
orange200: orange200 ?? this.orange200,
orange300: orange300 ?? this.orange300,
orange400: orange400 ?? this.orange400,
orange500: orange500 ?? this.orange500,
orange600: orange600 ?? this.orange600,
orange700: orange700 ?? this.orange700,
orange800: orange800 ?? this.orange800,
orange900: orange900 ?? this.orange900,
orange950: orange950 ?? this.orange950,
amber50: amber50 ?? this.amber50,
amber100: amber100 ?? this.amber100,
amber200: amber200 ?? this.amber200,
amber300: amber300 ?? this.amber300,
amber400: amber400 ?? this.amber400,
amber500: amber500 ?? this.amber500,
amber600: amber600 ?? this.amber600,
amber700: amber700 ?? this.amber700,
amber800: amber800 ?? this.amber800,
amber900: amber900 ?? this.amber900,
amber950: amber950 ?? this.amber950,
yellow50: yellow50 ?? this.yellow50,
yellow100: yellow100 ?? this.yellow100,
yellow200: yellow200 ?? this.yellow200,
yellow300: yellow300 ?? this.yellow300,
yellow400: yellow400 ?? this.yellow400,
yellow500: yellow500 ?? this.yellow500,
yellow600: yellow600 ?? this.yellow600,
yellow700: yellow700 ?? this.yellow700,
yellow800: yellow800 ?? this.yellow800,
yellow900: yellow900 ?? this.yellow900,
yellow950: yellow950 ?? this.yellow950,
lime50: lime50 ?? this.lime50,
lime100: lime100 ?? this.lime100,
lime200: lime200 ?? this.lime200,
lime300: lime300 ?? this.lime300,
lime400: lime400 ?? this.lime400,
lime500: lime500 ?? this.lime500,
lime600: lime600 ?? this.lime600,
lime700: lime700 ?? this.lime700,
lime800: lime800 ?? this.lime800,
lime900: lime900 ?? this.lime900,
lime950: lime950 ?? this.lime950,
green50: green50 ?? this.green50,
green100: green100 ?? this.green100,
green200: green200 ?? this.green200,
green300: green300 ?? this.green300,
green400: green400 ?? this.green400,
green500: green500 ?? this.green500,
green600: green600 ?? this.green600,
green700: green700 ?? this.green700,
green800: green800 ?? this.green800,
green900: green900 ?? this.green900,
green950: green950 ?? this.green950,
emerald50: emerald50 ?? this.emerald50,
emerald100: emerald100 ?? this.emerald100,
emerald200: emerald200 ?? this.emerald200,
emerald300: emerald300 ?? this.emerald300,
emerald400: emerald400 ?? this.emerald400,
emerald500: emerald500 ?? this.emerald500,
emerald600: emerald600 ?? this.emerald600,
emerald700: emerald700 ?? this.emerald700,
emerald800: emerald800 ?? this.emerald800,
emerald900: emerald900 ?? this.emerald900,
emerald950: emerald950 ?? this.emerald950,
teal50: teal50 ?? this.teal50,
teal100: teal100 ?? this.teal100,
teal200: teal200 ?? this.teal200,
teal300: teal300 ?? this.teal300,
teal400: teal400 ?? this.teal400,
teal500: teal500 ?? this.teal500,
teal600: teal600 ?? this.teal600,
teal700: teal700 ?? this.teal700,
teal800: teal800 ?? this.teal800,
teal900: teal900 ?? this.teal900,
teal950: teal950 ?? this.teal950,
cyan50: cyan50 ?? this.cyan50,
cyan100: cyan100 ?? this.cyan100,
cyan200: cyan200 ?? this.cyan200,
cyan300: cyan300 ?? this.cyan300,
cyan400: cyan400 ?? this.cyan400,
cyan500: cyan500 ?? this.cyan500,
cyan600: cyan600 ?? this.cyan600,
cyan700: cyan700 ?? this.cyan700,
cyan800: cyan800 ?? this.cyan800,
cyan900: cyan900 ?? this.cyan900,
cyan950: cyan950 ?? this.cyan950,
sky50: sky50 ?? this.sky50,
sky100: sky100 ?? this.sky100,
sky200: sky200 ?? this.sky200,
sky300: sky300 ?? this.sky300,
sky400: sky400 ?? this.sky400,
sky500: sky500 ?? this.sky500,
sky600: sky600 ?? this.sky600,
sky700: sky700 ?? this.sky700,
sky800: sky800 ?? this.sky800,
sky900: sky900 ?? this.sky900,
sky950: sky950 ?? this.sky950,
blue50: blue50 ?? this.blue50,
blue100: blue100 ?? this.blue100,
blue200: blue200 ?? this.blue200,
blue300: blue300 ?? this.blue300,
blue400: blue400 ?? this.blue400,
blue500: blue500 ?? this.blue500,
blue600: blue600 ?? this.blue600,
blue700: blue700 ?? this.blue700,
blue800: blue800 ?? this.blue800,
blue900: blue900 ?? this.blue900,
blue950: blue950 ?? this.blue950,
indigo50: indigo50 ?? this.indigo50,
indigo100: indigo100 ?? this.indigo100,
indigo200: indigo200 ?? this.indigo200,
indigo300: indigo300 ?? this.indigo300,
indigo400: indigo400 ?? this.indigo400,
indigo500: indigo500 ?? this.indigo500,
indigo600: indigo600 ?? this.indigo600,
indigo700: indigo700 ?? this.indigo700,
indigo800: indigo800 ?? this.indigo800,
indigo900: indigo900 ?? this.indigo900,
indigo950: indigo950 ?? this.indigo950,
violet50: violet50 ?? this.violet50,
violet100: violet100 ?? this.violet100,
violet200: violet200 ?? this.violet200,
violet300: violet300 ?? this.violet300,
violet400: violet400 ?? this.violet400,
violet500: violet500 ?? this.violet500,
violet600: violet600 ?? this.violet600,
violet700: violet700 ?? this.violet700,
violet800: violet800 ?? this.violet800,
violet900: violet900 ?? this.violet900,
violet950: violet950 ?? this.violet950,
purple50: purple50 ?? this.purple50,
purple100: purple100 ?? this.purple100,
purple200: purple200 ?? this.purple200,
purple300: purple300 ?? this.purple300,
purple400: purple400 ?? this.purple400,
purple500: purple500 ?? this.purple500,
purple600: purple600 ?? this.purple600,
purple700: purple700 ?? this.purple700,
purple800: purple800 ?? this.purple800,
purple900: purple900 ?? this.purple900,
purple950: purple950 ?? this.purple950,
fuchsia50: fuchsia50 ?? this.fuchsia50,
fuchsia100: fuchsia100 ?? this.fuchsia100,
fuchsia200: fuchsia200 ?? this.fuchsia200,
fuchsia300: fuchsia300 ?? this.fuchsia300,
fuchsia400: fuchsia400 ?? this.fuchsia400,
fuchsia500: fuchsia500 ?? this.fuchsia500,
fuchsia600: fuchsia600 ?? this.fuchsia600,
fuchsia700: fuchsia700 ?? this.fuchsia700,
fuchsia800: fuchsia800 ?? this.fuchsia800,
fuchsia900: fuchsia900 ?? this.fuchsia900,
fuchsia950: fuchsia950 ?? this.fuchsia950,
pink50: pink50 ?? this.pink50,
pink100: pink100 ?? this.pink100,
pink200: pink200 ?? this.pink200,
pink300: pink300 ?? this.pink300,
pink400: pink400 ?? this.pink400,
pink500: pink500 ?? this.pink500,
pink600: pink600 ?? this.pink600,
pink700: pink700 ?? this.pink700,
pink800: pink800 ?? this.pink800,
pink900: pink900 ?? this.pink900,
pink950: pink950 ?? this.pink950,
rose50: rose50 ?? this.rose50,
rose100: rose100 ?? this.rose100,
rose200: rose200 ?? this.rose200,
rose300: rose300 ?? this.rose300,
rose400: rose400 ?? this.rose400,
rose500: rose500 ?? this.rose500,
rose600: rose600 ?? this.rose600,
rose700: rose700 ?? this.rose700,
rose800: rose800 ?? this.rose800,
rose900: rose900 ?? this.rose900,
rose950: rose950 ?? this.rose950,
slate50: slate50 ?? this.slate50,
slate100: slate100 ?? this.slate100,
slate200: slate200 ?? this.slate200,
slate300: slate300 ?? this.slate300,
slate400: slate400 ?? this.slate400,
slate500: slate500 ?? this.slate500,
slate600: slate600 ?? this.slate600,
slate700: slate700 ?? this.slate700,
slate800: slate800 ?? this.slate800,
slate900: slate900 ?? this.slate900,
slate950: slate950 ?? this.slate950,
gray50: gray50 ?? this.gray50,
gray100: gray100 ?? this.gray100,
gray200: gray200 ?? this.gray200,
gray300: gray300 ?? this.gray300,
gray400: gray400 ?? this.gray400,
gray500: gray500 ?? this.gray500,
gray600: gray600 ?? this.gray600,
gray700: gray700 ?? this.gray700,
gray800: gray800 ?? this.gray800,
gray900: gray900 ?? this.gray900,
gray950: gray950 ?? this.gray950,
zinc50: zinc50 ?? this.zinc50,
zinc100: zinc100 ?? this.zinc100,
zinc200: zinc200 ?? this.zinc200,
zinc300: zinc300 ?? this.zinc300,
zinc400: zinc400 ?? this.zinc400,
zinc500: zinc500 ?? this.zinc500,
zinc600: zinc600 ?? this.zinc600,
zinc700: zinc700 ?? this.zinc700,
zinc800: zinc800 ?? this.zinc800,
zinc900: zinc900 ?? this.zinc900,
zinc950: zinc950 ?? this.zinc950,
neutral50: neutral50 ?? this.neutral50,
neutral100: neutral100 ?? this.neutral100,
neutral200: neutral200 ?? this.neutral200,
neutral300: neutral300 ?? this.neutral300,
neutral400: neutral400 ?? this.neutral400,
neutral500: neutral500 ?? this.neutral500,
neutral600: neutral600 ?? this.neutral600,
neutral700: neutral700 ?? this.neutral700,
neutral800: neutral800 ?? this.neutral800,
neutral900: neutral900 ?? this.neutral900,
neutral950: neutral950 ?? this.neutral950,
stone50: stone50 ?? this.stone50,
stone100: stone100 ?? this.stone100,
stone200: stone200 ?? this.stone200,
stone300: stone300 ?? this.stone300,
stone400: stone400 ?? this.stone400,
stone500: stone500 ?? this.stone500,
stone600: stone600 ?? this.stone600,
stone700: stone700 ?? this.stone700,
stone800: stone800 ?? this.stone800,
stone900: stone900 ?? this.stone900,
stone950: stone950 ?? this.stone950,
black: black ?? this.black,
white: white ?? this.white,
extras: extras ?? this.extras,
);
}