more padding

This commit is contained in:
jusax23 2023-06-01 17:03:51 +02:00
parent 2f5aaad3fc
commit 00a6470378
Signed by: jusax23
GPG key ID: 499E2AA870C1CD41

View file

@ -96,8 +96,8 @@ class _QuizPageState extends State<QuizPage> {
.indexOf(option), .indexOf(option),
) )
: _nextQuestion(), : _nextQuestion(),
child: Text(option),
style: FilledButton.styleFrom( style: FilledButton.styleFrom(
padding: const EdgeInsets.all(16.0),
backgroundColor: ask_state == -1 backgroundColor: ask_state == -1
? null ? null
: (v.questions[_currentQuestionIndex].correct == : (v.questions[_currentQuestionIndex].correct ==
@ -105,7 +105,8 @@ class _QuizPageState extends State<QuizPage> {
.indexOf(option) .indexOf(option)
? Colors.green ? Colors.green
: Colors.red), : Colors.red),
))); ),
child: Text(option)));
}, },
), ),
if (ask_state != -1) if (ask_state != -1)