Skip to content

Conversation

@schultek
Copy link
Contributor

@schultek schultek commented Nov 5, 2025

Adds a Quiz component.

TODOs:

  • When answering a single question and highlight correct/incorrect answer.
  • When clicking the "Try again" / "Next Question" button reset the question.
  • Define and implement how answering multiple questions should behave.
@parlough
Copy link
Member

parlough commented Nov 8, 2025

@schultek Is this PR ready for review?

---
<Quiz>
- question: What is the Effective Dart guideline for the first sentence of a documentation comment?
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

When you have a chance, can you add at least one more question to this testing quiz? Thanks!

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done. Though I don't have the interaction with multiple questions implemented yet.

@schultek schultek force-pushed the feat/quiz-component branch from 3ac390c to 1c8c779 Compare November 10, 2025 09:46
@schultek schultek marked this pull request as ready for review November 10, 2025 09:49
@schultek schultek requested review from a team and sfshaza2 as code owners November 10, 2025 09:49
@schultek schultek force-pushed the feat/quiz-component branch from 1af7d6d to 700efd4 Compare November 10, 2025 09:53
@flutter-website-bot
Copy link
Collaborator

flutter-website-bot commented Nov 10, 2025

Visit the preview URL for this PR (updated for commit 700efd4):

https://flutter-docs-prod--pr12648-feat-quiz-component-wo094agg.web.app

@schultek
Copy link
Contributor Author

@parlough The initial implementation is ready and can be tested on the '/fwe' page locally.

What I'm not sure yet is how the flow of answering multiple questions should be. Can you define this a bit more in detail in the project item?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

4 participants