isSelectLrc method

bool isSelectLrc(
  1. int index,
  2. int selectIndex, {
  3. bool? isTr_original,
})

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

Implementation

bool isSelectLrc(
  int index,
  int selectIndex, {
  bool? isTr_original,
}) {
  return (isSelectTranslate(index, selectIndex) ||
      isSelectTranslate_original(
        index,
        selectIndex,
        isTr_original: isTr_original,
      ));
}