isSelectTranslate method

bool isSelectTranslate(
  1. int index,
  2. int selectIndex
)

判断 index 指向的歌词是否应当高亮显示

Implementation

bool isSelectTranslate(int index, int selectIndex) {
  return (index == selectIndex);
}