floating next button
This commit is contained in:
parent
0c55e59bce
commit
ac37a352ea
1 changed files with 6 additions and 0 deletions
|
@ -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,
|
||||
);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue