DanmakuOption class
Constructors
Properties
- area → double
-
显示区域,0.1-1.0
final
- duration → int
-
滚动弹幕运行时间,秒
final
- fontSize → double
-
默认的字体大小
final
- fontWeight → int
-
字体粗细
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, int? fontWeight, 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