LyricWidget constructor
LyricWidget({
- Key? key,
- required List<
Lyric> lyrics, - List<
Lyric> ? remarkLyrics, - required Size size,
- required LyricController controller,
- TextStyle? lyricStyle,
- TextStyle? remarkStyle,
- TextStyle? currLyricStyle,
- double lyricGap = 10,
- double remarkLyricGap = 20,
- TextStyle? draggingLyricStyle,
- TextStyle? draggingRemarkLyricStyle,
- bool enableDrag = true,
- double? lyricMaxWidth,
- TextStyle? currRemarkLyricStyle,
Implementation
LyricWidget(
{Key? key,
required this.lyrics,
this.remarkLyrics,
required this.size,
required this.controller,
this.lyricStyle,
this.remarkStyle,
this.currLyricStyle,
this.lyricGap = 10,
this.remarkLyricGap = 20,
this.draggingLyricStyle,
this.draggingRemarkLyricStyle,
this.enableDrag: true,
this.lyricMaxWidth,
this.currRemarkLyricStyle})
: super(key: key);