TencentCloudChatConfig constructor
const
TencentCloudChatConfig({
- @Deprecated('Please use `usedComponentsRegister` from the `components` field within `TencentCloudChatInitComponentsRelated` when calling `initUIKit` instead.') List<
TencentCloudChatModularUIPackageRegister> ? usedComponentsRegister, - Brightness? brightness,
- TencentCloudChatThemeModel? themeConfig,
- TencentCloudChatUserConfig? userConfig,
Constructor for TencentCloudChatConfig.
themeConfig: The theme configuration for the app.
brightness: The brightness mode of the app (light or dark).
preloadDataConfig
: The configuration for preloading data in the app.
messageConfig
: The configuration for the TencentCloudChatMessage component.
Implementation
const TencentCloudChatConfig({
@Deprecated(
'Please use `usedComponentsRegister` from the `components` field within `TencentCloudChatInitComponentsRelated` when calling `initUIKit` instead.')
this.usedComponentsRegister,
this.brightness,
this.themeConfig,
this.userConfig,
});