Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mahmoudelsayed7/calculator
Flutter calculator app performs basic arithmetic operations, supports light and dark modes, features a clean interface, and uses Riverpod for state management.
https://github.com/mahmoudelsayed7/calculator
calculator flutter flutter-android flutter-apps flutter-calculator flutter-calculator-app flutter-riverpod flutter-screenutil hooks-riverpod ios-calculator math-expressions riverpod riverpod-state-management sharedpreferences simple-calculator themes
Last synced: 6 days ago
JSON representation
Flutter calculator app performs basic arithmetic operations, supports light and dark modes, features a clean interface, and uses Riverpod for state management.
- Host: GitHub
- URL: https://github.com/mahmoudelsayed7/calculator
- Owner: MAHMOUDELSAYED7
- Created: 2024-01-19T05:31:58.000Z (12 months ago)
- Default Branch: main
- Last Pushed: 2024-12-06T08:09:17.000Z (about 1 month ago)
- Last Synced: 2025-01-01T05:44:05.196Z (6 days ago)
- Topics: calculator, flutter, flutter-android, flutter-apps, flutter-calculator, flutter-calculator-app, flutter-riverpod, flutter-screenutil, hooks-riverpod, ios-calculator, math-expressions, riverpod, riverpod-state-management, sharedpreferences, simple-calculator, themes
- Language: C++
- Homepage:
- Size: 970 KB
- Stars: 1
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Simple Calculator
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.
## Features
- Basic arithmetic operations: Addition, Subtraction, Multiplication, and Division
- Light and Dark mode support
- Responsive design with `flutter_screenutil`
- Persistent settings with `shared_preferences`## Screenshots
## Installation
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/MAHMOUDELSAYED7/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.
## Dependencies
- **`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.## Dev Dependencies
- **`flutter_launcher_icons`**: For customizing the app launcher icon.
- **`flutter_lints`**: For linting the Flutter codebase.
- **`flutter_test`**: SDK for testing Flutter applications.## License
This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.
## Contact
For any questions or feedback, please reach out via email: [[email protected]]([email protected])