scrollToPlayLine method

void scrollToPlayLine([
  1. bool animation = true
])

select current play line

Implementation

void scrollToPlayLine([bool animation = true]) {
  safeLyricOffset(
      widget.model?.computeScroll(
              lyricPaint.playingIndex, lyricPaint.playingIndex, widget.ui) ??
          0,
      animation);
}