centerOffset static method

double centerOffset(
  1. LyricsLineModel? lyric,
  2. bool isCurr,
  3. LyricUI lyricUI,
  4. int playIndex,
)

Implementation

static double centerOffset(
    LyricsLineModel? lyric, bool isCurr, LyricUI lyricUI, int playIndex) {
  var baseLine = lyricUI.getBiasBaseLine();
  return _realCenterOffset(lyric, isCurr, baseLine, lyricUI, playIndex);
}