LyricPainter constructor
LyricPainter(
- List<
Lyric> lyrics, - List<
TextPainter> lyricTextPaints, - List<
TextPainter> subLyricTextPaints, { - List<
Lyric> ? subLyrics, - TickerProvider? vsync,
- TextStyle? lyricTextStyle,
- TextStyle? subLyricTextStyle,
- TextStyle? currLyricTextStyle,
- TextStyle? currSubLyricTextStyle,
- TextStyle? draggingLyricTextStyle,
- TextStyle? draggingSubLyricTextStyle,
- double? lyricGapValue,
- double? subLyricGapValue,
- 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});