RCKUnreadBadgeConfig class

未读消息角标配置

Constructors

RCKUnreadBadgeConfig.new({Color? backgroundColor, Color? muteBackgroundColor, Color textColor = convoItemTextColor, double fontSize = convoUnreadFontSize, BadgePosition position = BadgePosition.itemRight, double width = 42.0, double height = 21.0, String overflowText = '99+'})

Properties

backgroundColor Color
背景颜色
final
fontSize double
字体大小
final
hashCode int
The hash code for this object.
no setterinherited
height double
角标高
final
muteBackgroundColor Color
免打扰背景颜色
final
overflowText String
超过99的显示文本
final
position BadgePosition
显示位置 (头像右上角或单元格右侧)
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
textColor Color
文字颜色
final
width double
角标宽
final

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