LineMetrics constructor
LineMetrics({
- required LyricLine line,
- required double height,
- List<
WordMetrics> ? words, - required double width,
- required double activeWidth,
- required double activeHeight,
- required double translationWidth,
- required double translationHeight,
- required List<
LineMetrics> activeMetrics, - required List<
LineMetrics> metrics, - required TextPainter textPainter,
- required TextPainter activeTextPainter,
- 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,
});