floating next button

This commit is contained in:
jusax23 2023-06-02 13:04:50 +02:00
parent 0c55e59bce
commit ac37a352ea
Signed by: jusax23
GPG key ID: 499E2AA870C1CD41

View file

@ -148,6 +148,12 @@ class _QuizPageState extends State<QuizPage> {
],
),
),
floatingActionButton: askState != -1
? FloatingActionButton.extended(
onPressed: _nextQuestion,
icon: const Icon(Icons.chevron_right),
label: const Text("Next"))
: null,
);
}
}