From 00a64703788f1ede6ef8f8e7ac92a7a1df752f35 Mon Sep 17 00:00:00 2001 From: jusax23 Date: Thu, 1 Jun 2023 17:03:51 +0200 Subject: [PATCH] more padding --- lib/learn.dart | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/lib/learn.dart b/lib/learn.dart index f7e9ad3..283f343 100644 --- a/lib/learn.dart +++ b/lib/learn.dart @@ -96,8 +96,8 @@ class _QuizPageState extends State { .indexOf(option), ) : _nextQuestion(), - child: Text(option), style: FilledButton.styleFrom( + padding: const EdgeInsets.all(16.0), backgroundColor: ask_state == -1 ? null : (v.questions[_currentQuestionIndex].correct == @@ -105,7 +105,8 @@ class _QuizPageState extends State { .indexOf(option) ? Colors.green : Colors.red), - ))); + ), + child: Text(option))); }, ), if (ask_state != -1)