showsNext method
- double at
No modo com tempo, a pergunta seguinte aparece um tempo antes do seu
primeiro tempo (a prévia, para o aluno preparar a mão). true quando ela
já deve aparecer em at.
Implementation
bool showsNext(double at) {
final start = _origin;
final tempo = this.tempo;
if (start == null || tempo == null || done) return false;
if (index + 1 >= questions.length) return false;
final nextStart = start + (index + 1) * tempo.questionSeconds;
return at >= nextStart - tempo.beatSeconds;
}