LyricsReader constructor

LyricsReader({
  1. int position = 0,
  2. LyricsReaderModel? model,
  3. EdgeInsets? padding,
  4. Size? size,
  5. SelectLineBuilder? selectLineBuilder,
  6. LyricUI? lyricUi,
  7. VoidCallback? onTap,
  8. bool? playing,
  9. 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));