DanmakuOption constructor

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

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.borderText = true,
});