copyWith method
ThemeParameters
copyWith({
- int? backgroundColor,
- int? secondaryBackgroundColor,
- int? headerBackgroundColor,
- int? bottomBarBackgroundColor,
- int? sectionBackgroundColor,
- int? sectionSeparatorColor,
- int? textColor,
- int? accentTextColor,
- int? sectionHeaderTextColor,
- int? subtitleTextColor,
- int? destructiveTextColor,
- int? hintColor,
- int? linkColor,
- int? buttonColor,
- int? buttonTextColor,
Implementation
ThemeParameters copyWith({
int? backgroundColor,
int? secondaryBackgroundColor,
int? headerBackgroundColor,
int? bottomBarBackgroundColor,
int? sectionBackgroundColor,
int? sectionSeparatorColor,
int? textColor,
int? accentTextColor,
int? sectionHeaderTextColor,
int? subtitleTextColor,
int? destructiveTextColor,
int? hintColor,
int? linkColor,
int? buttonColor,
int? buttonTextColor,
}) => ThemeParameters(
backgroundColor: backgroundColor ?? this.backgroundColor,
secondaryBackgroundColor:
secondaryBackgroundColor ?? this.secondaryBackgroundColor,
headerBackgroundColor: headerBackgroundColor ?? this.headerBackgroundColor,
bottomBarBackgroundColor:
bottomBarBackgroundColor ?? this.bottomBarBackgroundColor,
sectionBackgroundColor:
sectionBackgroundColor ?? this.sectionBackgroundColor,
sectionSeparatorColor: sectionSeparatorColor ?? this.sectionSeparatorColor,
textColor: textColor ?? this.textColor,
accentTextColor: accentTextColor ?? this.accentTextColor,
sectionHeaderTextColor:
sectionHeaderTextColor ?? this.sectionHeaderTextColor,
subtitleTextColor: subtitleTextColor ?? this.subtitleTextColor,
destructiveTextColor: destructiveTextColor ?? this.destructiveTextColor,
hintColor: hintColor ?? this.hintColor,
linkColor: linkColor ?? this.linkColor,
buttonColor: buttonColor ?? this.buttonColor,
buttonTextColor: buttonTextColor ?? this.buttonTextColor,
);