This flutter project allows users to input their birthdate (day, month, year) and calculate their age in years, months, and days. The UI is designed with useMaterial3 and is simple and easy to use. The project is open source and can be used as a template for similar age calculator apps.
To see the web app version in action, visit https://j-j-gajjar.github.io/how_old_am_i/.
Both the mobile app and web app provide a similar user interface. To use the app:
- Enter the user's birthdate in the format of day, month, and year using the provided text fields.
- Tap the "How old am I?" button.
- The calculated age will be displayed in years, months, and days ablow the input fields.
To get started with this project, follow these steps:
- Run
flutter create .
to create the project. - Run
flutter pub get
to install the required dependencies - Run the app on an emulator or physical device using
flutter run
for the mobile app, orflutter run -d web-server
for the web app.
Contributions are welcome and encouraged! If you find a bug, have a suggestion for improvement, or want to add a feature, feel free to submit a pull request or open an issue.
This project is licensed under the MIT License - see the LICENSE.md file for details.