copyWith method

ChannelHeaderThemeData copyWith({
  1. TextStyle? titleStyle,
  2. TextStyle? subtitleStyle,
  3. AvatarThemeData? avatarTheme,
  4. Color? color,
})

Copy with theme

Implementation

ChannelHeaderThemeData copyWith({
  TextStyle? titleStyle,
  TextStyle? subtitleStyle,
  AvatarThemeData? avatarTheme,
  Color? color,
}) =>
    ChannelHeaderThemeData(
      titleStyle: titleStyle ?? this.titleStyle,
      subtitleStyle: subtitleStyle ?? this.subtitleStyle,
      avatarTheme: avatarTheme ?? this.avatarTheme,
      color: color ?? this.color,
    );