From 192452fd7025e50c25e6e765fd7a2d266676b760 Mon Sep 17 00:00:00 2001 From: Abhishek Rawat <39383758+rawatdev@users.noreply.github.com> Date: Fri, 19 May 2023 01:37:24 +0530 Subject: [PATCH] Update summary_item.dart it should be `question_index` instead of `question` --- .../lib/questions_summary/summary_item.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Code Snapshots/03 Flutter & Dart Basics II/22 More Dart Features/lib/questions_summary/summary_item.dart b/Code Snapshots/03 Flutter & Dart Basics II/22 More Dart Features/lib/questions_summary/summary_item.dart index 3fac5005..a8e12b87 100644 --- a/Code Snapshots/03 Flutter & Dart Basics II/22 More Dart Features/lib/questions_summary/summary_item.dart +++ b/Code Snapshots/03 Flutter & Dart Basics II/22 More Dart Features/lib/questions_summary/summary_item.dart @@ -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(