RCKLastMessageConfig class
最后一条消息配置
Constructors
-
RCKLastMessageConfig.new({double fontSize = convoLastFontSize, Color? color, FontWeight fontWeight = FontWeight.normal, int maxLines = 1, Map<
Type, String> ? customTypeText})
Properties
- color → Color
-
字体颜色
final
-
customTypeText
→ Map<
Type, String> ? -
自定义消息类型显示文本
final
- fontSize → double
-
字体大小
final
- fontWeight → FontWeight
-
字体粗细
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- maxLines → int
-
最大行数
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
getTypeText(
Type messageType) → String - 获取消息类型对应的显示文本
-
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