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)