This is a Flutter app that simulates a lottery game. When the app is launched, it displays a randomly generated lottery number to the user. If the number is 4, the app displays a congratulatory message, and if the number is not 4, the app displays a message encouraging the user to try again. The user can generate a new lottery number by clicking the refresh button. The app also includes an expansion tile with the rules of the game.
- Display a randomly generated lottery number.
- Congratulatory message if the number is 4.
- Encouragement to try again if the number is not 4.
- Refresh button to generate a new lottery number.
- Expansion tile with the rules of the game.
Color | Hex |
---|---|
Amethyst | #8F69CD |
White | #FFFFFF |
Black | #000000 |
To run this app, you will need to have Flutter installed on your machine.
- Clone the repository
git clone https://github.com/ahsanalisk/Lottery_Application.git
- Go to the project directory
cd Lottery_Application
- Run the app
flutter run
- Flutter - The mobile development framework used
Ahsan Ali