next method
Advance to the next question, or complete on the last.
Implementation
Future<void> next() async {
if (!canAdvance || _submitting) return;
if (isLast) {
await complete();
} else {
_step++;
notifyListeners();
}
}
Advance to the next question, or complete on the last.
Future<void> next() async {
if (!canAdvance || _submitting) return;
if (isLast) {
await complete();
} else {
_step++;
notifyListeners();
}
}