models/quiz_models library
Quiz models for the reusable quiz widget package
Classes
- QuizConfig
- Configuration class for the quiz widget appearance and behavior
- QuizQuestion
- Represents a single quiz question with multiple choice answers
Typedefs
- QuizAnswerCallback = void Function(QuizQuestion question, String? answer)
- Callback function type for when an answer is selected
-
QuizCompletedCallback
= void Function(List<
QuizQuestion> questions) - Callback function type for when quiz is completed