Learn how to build a quiz app with Riverpod and Flutter Hooks that fetches data from an API. Users are presented with a question with four possible answers from a random quiz. If the correct answer is chosen, then a green border and green checkmark icon appear around the answer. If the incorrect answer is chosen, then a red border and red X icon appear around the selected answer. The correct answer to the question is also revealed. The Next Question button moves users to the next question. When users finish their quiz, they can view their quiz results. Tapping on New Quiz will load up a new quiz for our users.
ยป Timestamps ๐
0:00โ Introduction
1:04โ Project Setup and Pubspec
1:47โ Trivia API
2:19โ Question Model
3:36โ Base Quiz Repository
4:33โ Difficulty Enum
4:49โ Quiz Repository
6:22โ Quiz State
8:02โ Quiz Controller
9:05โ Main.dart and Quiz UI
13:58โ Thanks for Watching
Subscribe: https://www.youtube.com/channel/UC6Dy0rQ6zDnQuHQ1EeErGUA
#flutter