bool isNextActive(int index) { if (index + 1 <= widget.trackList.length - 1) { return widget.trackList[index + 1].isActive; } return false; }