This is a straightforward calculator app built with Flutter, designed to perform basic arithmetic operations. It supports both light and dark modes to ensure a comfortable user experience under various lighting conditions. The app provides a clean and intuitive interface for performing addition, subtraction, multiplication, and division, making everyday calculations simple and efficient.
- Basic arithmetic operations: Addition, Subtraction, Multiplication, and Division
- Light and Dark mode support
- Responsive design with
flutter_screenutil
- Persistent settings with
shared_preferences
To get started with Calculator, follow these steps:
Step 1:
Clone the Repository
First, you'll need to clone the repository from GitHub. Open your terminal and run the following command:
https://github.com/MAHMOUDELSAYED69/Calculator.git
Replace with the actual URL of your repository if it was changed.
Step 2:
Install Dependencies
After navigating to the project directory, you need to install all the necessary dependencies. Run:
flutter pub get
This command fetches all the dependencies listed in the pubspec.yaml
file.
Step 3:
Configure the App
Ensure all necessary configurations are done. This includes adding your assets and setting up environment variables if needed. Verify that your pubspec.yaml
file includes all required assets
and fonts
.
Step 4:
Run the Application
Finally, run the application on your desired device using the following command:
`
flutter run
This command compiles your Flutter app and deploys it to the connected device or simulator.
Additional Tips
Updating Dependencies:
If there are any updates to the dependencies, you can update them using:
flutter pub upgrade --major-versions
Flutter Doctor: Run flutter doctor to ensure that your development environment is set up correctly.
flutter doctor
This command checks your environment and displays a report of the status of your Flutter installation, dependencies, and connected devices.
By following these steps, you'll have the Calculator app and running on your device. If you encounter any issues during installation, please refer to the Flutter documentation.
expressions
: For evaluating mathematical expressions.flutter
SDK: Core framework for building the app.flutter_riverpod
: For state management.flutter_screenutil
: For responsive design.shared_preferences
: For storing user preferences.
flutter_launcher_icons
: For customizing the app launcher icon.flutter_lints
: For linting the Flutter codebase.flutter_test
: SDK for testing Flutter applications.
This project is licensed under the MIT License - see the LICENSE file for details.
For any questions or feedback, please reach out via email: [email protected]