Solution: Multiple-choice Quiz Application
Review the solution for the quiz application challenge.
We'll cover the following
Problem statement
Build a small quiz app where pressing buttons will take you to the next question.
The main challenge is to build the app with a stateful widget and increment the list’s index that consists of the questions.
Another challenge is to separate the question and answer widgets into two files and pass them through callbacks. Also, map the list so it returns your desired solution. Finally, display if an answer was correct or wrong.
In this challenge, write all of the code in all three files yourself.
Solution code
Get hands-on with 1400+ tech skills courses.