DanmakuItem class

Constructors

DanmakuItem({required DanmakuContentItem content, required int creationTime, required double width, double xPosition = 0, double yPosition = 0, Paragraph? paragraph, Paragraph? strokeParagraph})

Properties

content DanmakuContentItem
弹幕内容
final
creationTime int
弹幕创建时间
final
hashCode int
The hash code for this object.
no setterinherited
paragraph Paragraph?
弹幕布局缓存
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
strokeParagraph Paragraph?
getter/setter pair
width double
弹幕宽度
final
xPosition double
弹幕水平方向位置
getter/setter pair
yPosition 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