DanmakuOption constructor

DanmakuOption({
  1. double fontSize = 16,
  2. double area = 1.0,
  3. int duration = 10,
  4. double opacity = 1.0,
  5. bool hideBottom = false,
  6. bool hideScroll = false,
  7. bool hideTop = false,
  8. bool showStroke = true,
  9. bool massiveMode = false,
})

Implementation

DanmakuOption({
  this.fontSize = 16,
  this.area = 1.0,
  this.duration = 10,
  this.opacity = 1.0,
  this.hideBottom = false,
  this.hideScroll = false,
  this.hideTop = false,
  this.showStroke = true,
  this.massiveMode = false,
});