DanmakuOption constructor

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

Implementation

DanmakuOption({
  this.fontSize = 16,
  this.fontWeight = 4,
  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,
});