Setting Score if a Single Dice is Pressed
We’ve seen how to get roll the dice from the main widget with a button by using the GlobalKey in our previous notes. But what if we want to update the score if a single dice is clicked…I mean rolled? Well that requires talking to the parent widget to let us know that it has…