numGenerator method
void
numGenerator()
Implementation
void numGenerator() {
//generates the numbers to display on screen
int nextNum =
_random.nextInt(widget.activity.interval) + 1; //plus one to not get 0.
while (newNum == nextNum) {
//currently code enforces no repetition of numbers - for graphical sakes.
nextNum = _random.nextInt(widget.activity.interval) + 1;
}
newNum = nextNum;
curSeq.add(newNum);
}