LyricPainter constructor

LyricPainter(
  1. List<Lyric> lyrics,
  2. List<TextPainter> lyricTextPaints,
  3. List<TextPainter> subLyricTextPaints, {
  4. List<Lyric>? subLyrics,
  5. TickerProvider? vsync,
  6. TextStyle? lyricTextStyle,
  7. TextStyle? subLyricTextStyle,
  8. TextStyle? currLyricTextStyle,
  9. TextStyle? currSubLyricTextStyle,
  10. TextStyle? draggingLyricTextStyle,
  11. TextStyle? draggingSubLyricTextStyle,
  12. double? lyricGapValue,
  13. double? subLyricGapValue,
  14. double? lyricMaxWidth,
})

Implementation

LyricPainter(this.lyrics, this.lyricTextPaints, this.subLyricTextPaints,
    {this.subLyrics,
    TickerProvider? vsync,
    this.lyricTextStyle,
    this.subLyricTextStyle,
    this.currLyricTextStyle,
    this.currSubLyricTextStyle,
    this.draggingLyricTextStyle,
    this.draggingSubLyricTextStyle,
    this.lyricGapValue,
    this.subLyricGapValue,
    this.lyricMaxWidth});