Start Abschnitt 4: Debugging Flutter Apps - 93

This commit is contained in:
2024-02-08 08:46:15 +01:00
parent 3084187ff1
commit d1059b9df7
17 changed files with 10 additions and 9 deletions
+1 -1
View File
@@ -22,7 +22,7 @@ class SummaryItem extends StatelessWidget {
children: [
QuestionIdentifier(
isCorrectAnswer: isCorrectAnswer,
questionIndex: itemData['question'] as int,
questionIndex: itemData['question_index'] as int,
),
const SizedBox(width: 20),
Expanded(
+1
View File
@@ -36,6 +36,7 @@ class _QuizState extends State<Quiz> {
void restartQuiz() {
setState(() {
_selectedAnswers.clear();
_activeScreen = 'questions-screen';
});
}