selectLineAndScrollToPlayLine method
Implementation
void selectLineAndScrollToPlayLine([bool animation = true]) {
selectLine(widget.model?.getCurrentLine(widget.position) ?? 0);
if (cacheLine != lyricPaint.playingIndex) {
lyricPaint.highlightWidth = 0;
cacheLine = lyricPaint.playingIndex;
handleHighlight();
scrollToPlayLine(animation);
}
}