This is a simple calculator mobile application developed using Flutter. It provides a user-friendly interface for performing basic mathematical operations and includes additional functions such as absolute value, modulus, power, factorial, prime number check, and square root. The app also offers options to delete the last entry and clear the entire calculation.
- Basic arithmetic operations (+, -, *, /)
- Absolute value (|x|)
- Modulus (x % y)
- Power (x^y)
- Factorial (x!)
- Prime number check
- Square root (√x)
- Delete last entry
- Clear all
- Flutter
- Google Fonts
- [Math expressions]
To get started with this calculator app, follow these steps:
- Clone this repository to your local machine.
git clone https://github.com/HuzaifaAliAwan/simple-calculator.git
Open the project in your preferred IDE or text editor.
Install the required dependencies using flutter pub get.
flutter pub get
flutter run
Usage
Use the buttons to input numbers and perform operations.
Tap the "=" button to calculate the result.
You can use the "C" button to clear the entire calculation.
The "Del" button deletes the last entered character or operation.
Additional functions like absolute, modulus, power, factorial, prime check, and square root can be accessed through their respective buttons.
Contributing
If you'd like to contribute to this project, I really appreciate your contribution feel free to email me or message me on linkedIn. You will find the link in my profile. Thank you.
License
This project is licensed under the MIT License.
Acknowledgments
Special thanks to Google Fonts for providing fonts used in this project.