TencentCloudChatInitComponentsRelated constructor

const TencentCloudChatInitComponentsRelated({
  1. required List<TencentCloudChatModularUIPackageRegister> usedComponentsRegister,
  2. TencentCloudChatComponentConfigs? componentConfigs,
  3. TencentCloudChatComponentBuilders? componentBuilders,
  4. 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,
});