completeGame method
void
completeGame()
Implementation
void completeGame() {
Get.defaultDialog(
title: 'Congratulations!',
middleText: 'You have completed the game!',
onWillPop: () async {
newGame(state.size);
return true;
},
);
}