DanmakuContentItem class

Constructors

DanmakuContentItem(String text, {Color color = Colors.white, DanmakuItemType type = DanmakuItemType.scroll, bool selfSend = false})

Properties

color Color
弹幕颜色
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
selfSend bool
是否为自己发送
final
text String
弹幕文本
final
type DanmakuItemType
弹幕类型
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