FlutterDanmakuConfig class
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
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
Static Properties
- areaOfChildOffsetY ↔ double
-
弹幕场景基于子组件高度的偏移量。是由于子组件高度不一定能整除轨道高度 为了居中展示 需要有一个偏移量
getter/setter pair
- areaSize ↔ Size
-
getter/setter pair
- baseRunDistance ↔ int
-
getter/setter pair
- bulletBaseShowDuration ↔ Duration
-
getter/setter pair
- bulletRate ↔ double
-
getter/setter pair
- bulletTapCallBack ↔ dynamic Function(FlutterDanmakuBulletModel)?
-
getter/setter pair
- bulletTextSize ↔ double
-
getter/setter pair
- everyFramerateRunDistanceScale ↔ int
-
getter/setter pair
- framerate ↔ int
-
getter/setter pair
- opacity ↔ double
-
getter/setter pair
- pause ↔ bool
-
getter/setter pair
- showAreaHeight → double
-
no setter
- showAreaPercent ↔ double
-
getter/setter pair
- unitTimer ↔ int
-
getter/setter pair
Static Methods
-
getAreaOfChildOffsetY(
{Size? textSize}) → double - 获取弹幕场景基于子组件高度的偏移量。为了居中展示
Constants
- defaultColor → const Color