copyWith method
SunnyColorData
copyWith({
- CupertinoDynamicColor? white,
- CupertinoDynamicColor? primaryColor,
- CupertinoDynamicColor? linkColor,
- CupertinoDynamicColor? red,
- CupertinoDynamicColor? g50,
- CupertinoDynamicColor? g100,
- CupertinoDynamicColor? g200,
- CupertinoDynamicColor? g300,
- CupertinoDynamicColor? g400,
- CupertinoDynamicColor? g500,
- CupertinoDynamicColor? g600,
- CupertinoDynamicColor? g700,
- CupertinoDynamicColor? g800,
- CupertinoDynamicColor? g900,
- CupertinoDynamicColor? black,
- CupertinoDynamicColor? iconDark,
- CupertinoDynamicColor? shadow,
- CupertinoDynamicColor? appBarBackground,
- CupertinoDynamicColor? placeholder,
- CupertinoDynamicColor? inputBackground,
- CupertinoDynamicColor? scaffoldBackground,
- CupertinoDynamicColor? modalBackground,
- CupertinoDynamicColor? inputBorder,
- CupertinoDynamicColor? headerLink,
- CupertinoDynamicColor? separator,
- CupertinoDynamicColor? text,
- CupertinoDynamicColor? textLight,
- Color? barrierColor,
override
Implementation
SunnyColorData copyWith({
CupertinoDynamicColor? white,
CupertinoDynamicColor? primaryColor,
CupertinoDynamicColor? linkColor,
CupertinoDynamicColor? red,
CupertinoDynamicColor? g50,
CupertinoDynamicColor? g100,
CupertinoDynamicColor? g200,
CupertinoDynamicColor? g300,
CupertinoDynamicColor? g400,
CupertinoDynamicColor? g500,
CupertinoDynamicColor? g600,
CupertinoDynamicColor? g700,
CupertinoDynamicColor? g800,
CupertinoDynamicColor? g900,
CupertinoDynamicColor? black,
CupertinoDynamicColor? iconDark,
CupertinoDynamicColor? shadow,
CupertinoDynamicColor? appBarBackground,
CupertinoDynamicColor? placeholder,
CupertinoDynamicColor? inputBackground,
CupertinoDynamicColor? scaffoldBackground,
CupertinoDynamicColor? modalBackground,
CupertinoDynamicColor? inputBorder,
CupertinoDynamicColor? headerLink,
CupertinoDynamicColor? separator,
CupertinoDynamicColor? text,
CupertinoDynamicColor? textLight,
Color? barrierColor,
}) {
return SunnyColorData(
brightness: this.brightness,
white: white ?? this.white,
primaryColor: primaryColor ?? this.primaryColor,
linkColor: linkColor ?? this.linkColor,
red: red ?? this.red,
g50: g50 ?? this.g50,
g100: g100 ?? this.g100,
g200: g200 ?? this.g200,
g300: g300 ?? this.g300,
g400: g400 ?? this.g400,
g500: g500 ?? this.g500,
g600: g600 ?? this.g600,
g700: g700 ?? this.g700,
g800: g800 ?? this.g800,
g900: g900 ?? this.g900,
black: black ?? this.black,
iconDark: iconDark ?? this.iconDark,
shadow: shadow ?? this.shadow,
appBarBackground: appBarBackground ?? this.appBarBackground,
placeholder: placeholder ?? this.placeholder,
inputBackground: inputBackground ?? this.inputBackground,
scaffoldBackground: scaffoldBackground ?? this.scaffoldBackground,
modalBackground: modalBackground ?? this.modalBackground,
inputBorder: inputBorder ?? this.inputBorder,
headerLink: headerLink ?? this.headerLink,
separator: separator ?? this.separator,
text: text ?? this.text,
textLight: textLight ?? this.textLight,
barrierColor: barrierColor ?? this.barrierColor,
);
}