TencentCloudChatInitComponentsRelated constructor
const
TencentCloudChatInitComponentsRelated({
- required List<
TencentCloudChatModularUIPackageRegister> usedComponentsRegister, - TencentCloudChatComponentConfigs? componentConfigs,
- TencentCloudChatComponentBuilders? componentBuilders,
- TencentCloudChatComponentEventHandlers? componentEventHandlers,
Constructs a new instance of TencentCloudChatInitComponentsRelated with the related configurations for components when calling initUIKit
.
usedComponentsRegister: The list of register functions of the components used in the Chat UIKit. componentConfigs: The configuration for each modular UI component, affecting globally. componentBuilders: The builder for further customizing the UI for each modular UI component, affecting globally.
Implementation
const TencentCloudChatInitComponentsRelated({
required this.usedComponentsRegister,
this.componentConfigs,
this.componentBuilders,
this.componentEventHandlers,
});