copyWith method
StreamChannelHeaderThemeData
copyWith({
- TextStyle? titleStyle,
- TextStyle? subtitleStyle,
- StreamAvatarThemeData? avatarTheme,
- Color? color,
Copy with theme
Implementation
StreamChannelHeaderThemeData copyWith({
TextStyle? titleStyle,
TextStyle? subtitleStyle,
StreamAvatarThemeData? avatarTheme,
Color? color,
}) {
return StreamChannelHeaderThemeData(
titleStyle: titleStyle ?? this.titleStyle,
subtitleStyle: subtitleStyle ?? this.subtitleStyle,
avatarTheme: avatarTheme ?? this.avatarTheme,
color: color ?? this.color,
);
}