lastCenterOffset method

double lastCenterOffset(
  1. int playIndex,
  2. LyricUI lyricUI
)

Implementation

double lastCenterOffset(int playIndex, LyricUI lyricUI) {
  return LyricHelper.centerOffset(
      lyrics.lastOrNull, playIndex == lyrics.length - 1, lyricUI, playIndex);
}