MessageComponentConfig class
- Inheritance
-
- Object
- TCICComponentConfig
- MessageComponentConfig
Constructors
- MessageComponentConfig({Widget? messageItemBuilder(V2TimMessage message)?, Widget? messageHeaderBuilder(V2TimMessage message)?, Widget? messageBubbleBuilder(V2TimMessage message, Widget child)?, Widget? messageRowBuilder(V2TimMessage message)?, Color? chatContainerBackgroundColor, BorderRadius? chatContainerBorderRadius, Color? headerTitleColor, double? headerTitleFontSize, Color? headerCloseIconColor, Color? notificationBadgeBackgroundColor, Color? notificationBadgeTextColor, Color? notificationTextColor, Color? emptyMessageTextColor, double? emptyMessageFontSize, Color? messageNicknameColor, Color? messageTimestampColor, Color? privateMessageTagColor, Color? selfMessageBubbleBackgroundColor, Color? otherMessageBubbleBackgroundColor, Color? messageTextColor, double? messageTextFontSize, Color? messageLoadingIndicatorColor, Color? messageErrorIconColor, BorderRadius? messageBubbleBorderRadius, Color? messageMenuBackgroundColor, Color? messageMenuTextColor, double? messageMenuTextFontSize, Color? inputDividerColor, Color? sendToTextColor, Color? receiverBadgeBackgroundColor, Color? receiverNameTextColor, Color? inputButtonIconColor, Color? inputFieldBackgroundColor, Color? inputFieldTextColor, Color? inputFieldHintTextColor, Color? inputFieldCursorColor, BorderRadius? inputFieldBorderRadius, Color? replyMessageBackgroundColor, Color? replyMessageBarColor, Color? replyMessageTextColor, Color? replyMessageCloseIconColor, Color? emojiPanelBackgroundColor, Color? morePanelBackgroundColor, Color? morePanelIconColor, Color? morePanelTextColor, Color? notificationEditorBackgroundColor, Color? notificationEditorTextColor, Color? notificationEditorHintTextColor, Color? notificationEditorCursorColor, Color? notificationCountTextColor, Color? notificationButtonTextColor, Color? notificationCancelButtonTextColor, Color? notificationPublishButtonTextColor})
Properties
- chatContainerBackgroundColor ↔ Color?
-
========== 聊天组件样式配置 ==========
聊天容器背景色
getter/setter pair
- chatContainerBorderRadius ↔ BorderRadius?
-
聊天容器圆角
getter/setter pair
- emojiPanelBackgroundColor ↔ Color?
-
========== 表情面板样式配置 ==========
表情面板背景色(如有需要)
getter/setter pair
- emptyMessageFontSize ↔ double?
-
空消息提示文字大小
getter/setter pair
- emptyMessageTextColor ↔ Color?
-
========== 消息列表样式配置 ==========
空消息提示文字颜色
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- headerCloseIconColor ↔ Color?
-
头部关闭图标颜色
getter/setter pair
- headerTitleColor ↔ Color?
-
========== 头部样式配置 ==========
头部标题颜色
getter/setter pair
- headerTitleFontSize ↔ double?
-
头部标题字体大小
getter/setter pair
- inputButtonIconColor ↔ Color?
-
输入框按钮图标颜色
getter/setter pair
- inputDividerColor ↔ Color?
-
========== 输入框样式配置 ==========
输入框分隔线颜色
getter/setter pair
- inputFieldBackgroundColor ↔ Color?
-
输入框背景色
getter/setter pair
- inputFieldBorderRadius ↔ BorderRadius?
-
输入框圆角
getter/setter pair
- inputFieldCursorColor ↔ Color?
-
输入框光标颜色
getter/setter pair
- inputFieldHintTextColor ↔ Color?
-
输入框提示文字颜色
getter/setter pair
- inputFieldTextColor ↔ Color?
-
输入框文字颜色
getter/setter pair
- messageBubbleBorderRadius ↔ BorderRadius?
-
消息气泡圆角
getter/setter pair
- messageBubbleBuilder ↔ Widget? Function(V2TimMessage message, Widget child)?
-
消息气泡构建器
getter/setter pair
- messageErrorIconColor ↔ Color?
-
消息错误图标颜色
getter/setter pair
- messageHeaderBuilder ↔ Widget? Function(V2TimMessage message)?
-
消息头构建器
getter/setter pair
- messageItemBuilder ↔ Widget? Function(V2TimMessage message)?
-
消息Item构建器
getter/setter pair
- messageLoadingIndicatorColor ↔ Color?
-
消息加载中指示器颜色
getter/setter pair
- messageMenuBackgroundColor ↔ Color?
-
消息操作菜单背景色
getter/setter pair
- messageMenuTextColor ↔ Color?
-
消息操作菜单文字颜色
getter/setter pair
- messageMenuTextFontSize ↔ double?
-
消息操作菜单文字大小
getter/setter pair
- messageNicknameColor ↔ Color?
-
========== 消息行样式配置 ==========
消息发送者昵称颜色
getter/setter pair
- messageRowBuilder ↔ Widget? Function(V2TimMessage message)?
-
消息行构建器
getter/setter pair
- messageTextColor ↔ Color?
-
消息文字颜色
getter/setter pair
- messageTextFontSize ↔ double?
-
消息文字大小
getter/setter pair
- messageTimestampColor ↔ Color?
-
消息时间戳颜色
getter/setter pair
- morePanelBackgroundColor ↔ Color?
-
========== 更多操作面板样式配置 ==========
更多操作面板背景色
getter/setter pair
- morePanelIconColor ↔ Color?
-
更多操作图标颜色
getter/setter pair
- morePanelTextColor ↔ Color?
-
更多操作文字颜色
getter/setter pair
- notificationBadgeBackgroundColor ↔ Color?
-
群公告标签背景色
getter/setter pair
- notificationBadgeTextColor ↔ Color?
-
群公告标签文字颜色
getter/setter pair
- notificationButtonTextColor ↔ Color?
-
群公告按钮文字颜色
getter/setter pair
- notificationCancelButtonTextColor ↔ Color?
-
群公告取消按钮文字颜色
getter/setter pair
- notificationCountTextColor ↔ Color?
-
群公告字数统计文字颜色
getter/setter pair
- notificationEditorBackgroundColor ↔ Color?
-
========== 群公告编辑样式配置 ==========
群公告编辑器背景色
getter/setter pair
- notificationEditorCursorColor ↔ Color?
-
群公告编辑器光标颜色
getter/setter pair
- notificationEditorHintTextColor ↔ Color?
-
群公告编辑器提示文字颜色
getter/setter pair
- notificationEditorTextColor ↔ Color?
-
群公告编辑器文字颜色
getter/setter pair
- notificationPublishButtonTextColor ↔ Color?
-
群公告发布按钮文字颜色
getter/setter pair
- notificationTextColor ↔ Color?
-
群公告内容文字颜色
getter/setter pair
- otherMessageBubbleBackgroundColor ↔ Color?
-
他人发送的消息气泡背景色
getter/setter pair
- privateMessageTagColor ↔ Color?
-
私聊标签颜色
getter/setter pair
- receiverBadgeBackgroundColor ↔ Color?
-
接收者标签背景色
getter/setter pair
- receiverNameTextColor ↔ Color?
-
接收者名称文字颜色
getter/setter pair
- replyMessageBackgroundColor ↔ Color?
-
回复消息区域背景色
getter/setter pair
- replyMessageBarColor ↔ Color?
-
回复消息竖线颜色
getter/setter pair
- replyMessageCloseIconColor ↔ Color?
-
回复消息关闭图标颜色
getter/setter pair
- replyMessageTextColor ↔ Color?
-
回复消息文字颜色
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- selfMessageBubbleBackgroundColor ↔ Color?
-
自己发送的消息气泡背景色
getter/setter pair
- sendToTextColor ↔ Color?
-
"发送给"文字颜色
getter/setter pair
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
fromJson(
Map< String, dynamic> json) → MessageComponentConfig -
override