Find out under which card the Flutter logo is hiding.
The purpose of this game is for the player to find out under which card the Flutter logo is hiding. If the player chooses correctly, show a message that says: "You won!" If the player chooses the wrong card, show a message that says: "You lost!" Choose the position of the Flutter logo at random every time the game starts.
- Using a GlobalKey to modify the state of a child widget
- Using page_flip_builder package (flipping)
- Using Riverpod + Freezed package (state management)
- Using built-in VoidCallback / tear-offs