copyWith method
ThemeSettings
copyWith({
- int? accentColor,
- Background? background,
- BackgroundFill? outgoingMessageFill,
- bool? animateOutgoingMessageFill,
- int? outgoingMessageAccentColor,
Implementation
ThemeSettings copyWith({
int? accentColor,
Background? background,
BackgroundFill? outgoingMessageFill,
bool? animateOutgoingMessageFill,
int? outgoingMessageAccentColor,
}) => ThemeSettings(
accentColor: accentColor ?? this.accentColor,
background: background ?? this.background,
outgoingMessageFill: outgoingMessageFill ?? this.outgoingMessageFill,
animateOutgoingMessageFill: animateOutgoingMessageFill ?? this.animateOutgoingMessageFill,
outgoingMessageAccentColor: outgoingMessageAccentColor ?? this.outgoingMessageAccentColor,
);