widgets/text_checker library
Classes
- TextChecker
- This widget checks whether the typed word corresponds to the expected one. Initially, the checkmark is grey. As long as the user types the right characters, the checkmark remains orange. When wrong, the checkmark becomes red. Finally, when the word is completely correct, the checkmark becomes green.
- TextCheckerState
- The state consists of the Icon (and its color), the comparison status and the word that is actually typed.
Enums
- ComparisonStatus
- Status of comparison between an expected indicative and what is actually typed.