LyricsReader constructor
LyricsReader({
- int position = 0,
- LyricsReaderModel? model,
- EdgeInsets? padding,
- Size? size,
- SelectLineBuilder? selectLineBuilder,
- LyricUI? lyricUi,
- VoidCallback? onTap,
- bool? playing,
- EmptyBuilder? emptyBuilder,
Implementation
LyricsReader({
this.position = 0,
this.model,
this.padding,
this.size,
this.selectLineBuilder,
LyricUI? lyricUi,
this.onTap,
this.playing,
this.emptyBuilder,
}) : ui = lyricUi ??
UINetease(
otherMainTextStyle:
TextStyle(color: Colors.grey[200], fontSize: 16),
playingMainTextStyle: TextStyle(
color: Colors.white,
fontSize: 14,
),
otherExtTextStyle: TextStyle(
color: Colors.grey[300],
fontSize: 14,
),
playingExtTextStyle:
TextStyle(color: Colors.grey[300], fontSize: 14));