DanmakuOption class

Constructors

DanmakuOption({double fontSize = 16, double area = 1.0, int duration = 10, double opacity = 1.0, bool hideBottom = false, bool hideScroll = false, bool hideTop = false, bool showStroke = true, bool massiveMode = false})

Properties

area double
显示区域,0.1-1.0
final
duration int
滚动弹幕运行时间,秒
final
fontSize double
默认的字体大小
final
hashCode int
The hash code for this object.
no setterinherited
hideBottom bool
隐藏底部弹幕
final
hideScroll bool
隐藏滚动弹幕
final
hideTop bool
隐藏顶部弹幕
final
massiveMode bool
海量弹幕模式 (弹幕轨道占满时进行叠加)
final
opacity double
不透明度,0.1-1.0
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
showStroke bool
弹幕描边
final

Methods

copyWith({double? fontSize, double? area, int? duration, double? opacity, bool? hideTop, bool? hideBottom, bool? hideScroll, bool? showStroke, bool? massiveMode}) DanmakuOption
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