safeLyricOffset method

dynamic safeLyricOffset(
  1. double offset, [
  2. bool animation = true
])

update progress after verify

Implementation

safeLyricOffset(double offset, [bool animation = true]) {
  if (isDrag || isWait) return;
  if (_flingController?.isAnimating == true) return;
  realUpdateOffset(offset, animation);
}