DanmakuItem constructor

DanmakuItem({
  1. required DanmakuContentItem content,
  2. required int creationTime,
  3. required double height,
  4. required double width,
  5. double xPosition = 0,
  6. double yPosition = 0,
  7. Paragraph? paragraph,
  8. Paragraph? strokeParagraph,
  9. int? lastDrawTick,
})

Implementation

DanmakuItem({
  required this.content,
  required this.creationTime,
  required this.height,
  required this.width,
  this.xPosition = 0,
  this.yPosition = 0,
  this.paragraph,
  this.strokeParagraph,
  this.lastDrawTick,
});