Not Updated yet
The Sum Of Numbers Mobile Application
This application sums numbers, the number on the button is equal to this score. The goal is 298, so the user needs to select numbers that help to reach the goal by summing them.
Application is created of a widget tree, a map, two methods and 'if' statement:
- A widget tree:
- Map '_tasks' is a collection of task and possible scores.
- Method '_answerOfTask' sums selected scores.
- Method '_resetQuiz' resets the quiz.
- 'If' statement checks if summed scores are equal to the goal.