copyWith method

StreamChannelHeaderThemeData copyWith({
  1. TextStyle? titleStyle,
  2. TextStyle? subtitleStyle,
  3. StreamAvatarThemeData? avatarTheme,
  4. 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,
  );
}