LineMetrics constructor

LineMetrics({
  1. required LyricLine line,
  2. required double height,
  3. List<WordMetrics>? words,
  4. required double width,
  5. required double activeWidth,
  6. required double activeHeight,
  7. required double translationWidth,
  8. required double translationHeight,
  9. required List<LineMetrics> activeMetrics,
  10. required List<LineMetrics> metrics,
  11. required TextPainter textPainter,
  12. required TextPainter activeTextPainter,
  13. required TextPainter translationTextPainter,
})

Implementation

LineMetrics({
  required this.line,
  required this.height,
  this.words,
  required this.width,
  required this.activeWidth,
  required this.activeHeight,
  required this.translationWidth,
  required this.translationHeight,
  required this.activeMetrics,
  required this.metrics,
  required this.textPainter,
  required this.activeTextPainter,
  required this.translationTextPainter,
});