copyWith method

TencentCloudAvChatRoomTextTheme copyWith({
  1. TextStyle? anchorTitleStyle,
  2. TextStyle? anchorSubTitleStyle,
  3. TextStyle? barrageTitleStyle,
  4. TextStyle? barrageTextStyle,
  5. TextStyle? giftBannerTitleStyle,
  6. TextStyle? giftBannerSubTitleStyle,
})

Implementation

TencentCloudAvChatRoomTextTheme copyWith({
  TextStyle? anchorTitleStyle,
  TextStyle? anchorSubTitleStyle,
  TextStyle? barrageTitleStyle,
  TextStyle? barrageTextStyle,
  TextStyle? giftBannerTitleStyle,
  TextStyle? giftBannerSubTitleStyle,
}) {
  return TencentCloudAvChatRoomTextTheme(
      barrageTextStyle: barrageTextStyle ?? this.barrageTextStyle,
      barrageTitleStyle: barrageTitleStyle ?? this.barrageTitleStyle,
      giftBannerTitleStyle: giftBannerTitleStyle ?? this.giftBannerTitleStyle,
      giftBannerSubTitleStyle:
          giftBannerSubTitleStyle ?? this.giftBannerSubTitleStyle,
      anchorSubTitleStyle: anchorSubTitleStyle ?? this.anchorSubTitleStyle,
      anchorTitleStyle: anchorTitleStyle ?? this.anchorTitleStyle);
}