Skip to content

A Flutter app that simulates a lottery game. Displays a randomly generated number. If the number is 4, a congratulatory message is shown. The user can generate a new number by clicking the refresh button. The app also includes the rules of the game. The app's UI consists of a text message, an icon, and a container with a message.

Notifications You must be signed in to change notification settings

ahsanalisk/lottery-app

Repository files navigation

Lottery_Application

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.

Features

  • 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.

Screenshots

Lottery-app

Color Reference

Color Hex
Amethyst #8F69CD
White #FFFFFF
Black #000000

Getting Started

To run this app, you will need to have Flutter installed on your machine.

  1. Clone the repository
git clone https://github.com/ahsanalisk/Lottery_Application.git
  1. Go to the project directory
cd Lottery_Application
  1. Run the app
flutter run

Built With

  • Flutter - The mobile development framework used

Author

Ahsan Ali

🔗 Social Links

linkedin

About

A Flutter app that simulates a lottery game. Displays a randomly generated number. If the number is 4, a congratulatory message is shown. The user can generate a new number by clicking the refresh button. The app also includes the rules of the game. The app's UI consists of a text message, an icon, and a container with a message.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published