copyWith method

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

Returns a new ChannelListHeaderThemeData replacing some of its properties

Implementation

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