ChatUIConfig constructor
ChatUIConfig({
- bool? showTeamMessageStatus,
- BoxDecoration? receiveMessageBg,
- BoxDecoration? selfMessageBg,
- bool? showP2pMessageStatus,
- Color? signalBgColor,
- Color? timeTextColor,
- double? timeTextSize,
- Color? receiveMessageTextColor,
- Color? sendMessageTextColor,
- double? receiveMessageTextSize,
- double? sendMessageTextSize,
- double? userNickTextSize,
- Color? userNickColor,
- double? avatarCornerRadius,
- bool enableMessageLongPress = true,
- PopMenuConfig? popMenuConfig,
- bool keepDefaultMoreAction = true,
- List<
ActionItem> ? moreActions, - ChatKitMessageBuilder? messageBuilder,
- MessageClickListener? messageClickListener,
- Future<
Map< getPushPayload(String, dynamic> >- NIMMessage message,
- String conversationId
- Widget imagePlaceHolder(})?,
- int? maxVideoSize,
- dynamic onTapAitLink()?,
- int? maxFileSize,
- bool keepDefaultInputAction = true,
- List<
ActionItem> ? inputActions, - String? getMessageBrief(
- NIMMessage message
- int showTimeInterval = 5 * 60 * 1000,
- bool? isShowAvatar(
- NIMMessage message
- bool onTeamDismissOrLeave()?,
- Color? messageLinkColor,
- Widget teamSettingPanelBuilder(
- String teamId,
- VoidCallback onClose,
- VoidCallback? onQuitTeam
Implementation
ChatUIConfig({
this.showTeamMessageStatus,
this.receiveMessageBg,
this.selfMessageBg,
this.showP2pMessageStatus,
this.signalBgColor,
this.timeTextColor,
this.timeTextSize,
this.receiveMessageTextColor,
this.sendMessageTextColor,
this.receiveMessageTextSize,
this.sendMessageTextSize,
this.userNickTextSize,
this.userNickColor,
this.avatarCornerRadius,
this.enableMessageLongPress = true,
this.popMenuConfig,
this.keepDefaultMoreAction = true,
this.moreActions,
this.messageBuilder,
this.messageClickListener,
this.getPushPayload,
this.imagePlaceHolder,
this.maxVideoSize,
this.onTapAitLink,
this.maxFileSize,
this.keepDefaultInputAction = true,
this.inputActions,
this.getMessageBrief,
this.showTimeInterval = 5 * 60 * 1000,
this.isShowAvatar,
this.onTeamDismissOrLeave,
this.messageLinkColor,
this.teamSettingPanelBuilder,
});