TencentCloudChatThemeModel constructor

TencentCloudChatThemeModel({
  1. TencentCloudChatThemeColors? lightTheme,
  2. TencentCloudChatThemeColors? darkTheme,
  3. TencentCloudChatTextStyle? textStyle,
})

Creates a new TencentCloudChatThemeModel with the given light and dark theme colors, and text styles.

Implementation

TencentCloudChatThemeModel({
  TencentCloudChatThemeColors? lightTheme,
  TencentCloudChatThemeColors? darkTheme,
  TencentCloudChatTextStyle? textStyle,
})  : _textStyle = textStyle ?? TencentCloudChatTextStyle(),
      _darkTheme = darkTheme ?? DarkTencentCloudChatColors(),
      _lightTheme = lightTheme ?? LightTencentCloudChatColors();