ChatUIConfig class

聊天页面客户自定义配置

Constructors

ChatUIConfig({bool? showTeamMessageStatus, BoxDecoration? receiveMessageBg, BoxDecoration? selfMessageBg, bool? showP2pMessageStatus, Color? signalBgColor, Color? timeTextColor, double? timeTextSize, double? messageTextSize, Color? messageTextColor, double? userNickTextSize, Color? userNickColor, double? avatarCornerRadius, bool enableMessageLongPress = true, PopMenuConfig? popMenuConfig, bool keepDefaultMoreAction = true, List<ActionItem>? moreActions, ChatKitMessageBuilder? messageBuilder, MessageClickListener? messageClickListener})

Properties

avatarCornerRadius double?
头像的圆角
getter/setter pair
enableMessageLongPress bool
长按弹框功能开关
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
keepDefaultMoreAction bool
保留默认的更多按钮
getter/setter pair
messageBuilder ChatKitMessageBuilder?
自定义消息构建
getter/setter pair
messageClickListener MessageClickListener?
getter/setter pair
messageTextColor Color?
文本消息字体颜色
getter/setter pair
messageTextSize double?
文本消息字体大小
getter/setter pair
moreActions List<ActionItem>?
更多面板自定义按钮
getter/setter pair
popMenuConfig PopMenuConfig?
长按弹框配置
getter/setter pair
receiveMessageBg BoxDecoration?
接收消息背景装饰器
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
selfMessageBg BoxDecoration?
发送消息背景装饰器
getter/setter pair
showP2pMessageStatus bool?
单聊中是否展示已读未读状态
getter/setter pair
showTeamMessageStatus bool?
群聊中是否展示已读未读状态
getter/setter pair
signalBgColor Color?
被标记消息的背景色
getter/setter pair
timeTextColor Color?
消息列表中,时间字体颜色
getter/setter pair
timeTextSize double?
消息列表中,时间字体大小
getter/setter pair
userNickColor Color?
不设置头像的用户所展示的文字头像中的文字颜色
getter/setter pair
userNickTextSize double?
不设置头像的用户所展示的文字头像中的文字字体大小
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