{"id":28222700,"url":"https://github.com/basuru07/calculator-app","last_synced_at":"2025-06-11T18:32:04.735Z","repository":{"id":268869861,"uuid":"905705725","full_name":"basuru07/Calculator-App","owner":"basuru07","description":"A modern Flutter calculator app with basic arithmetic operations, a sleek UI, and a history feature to track calculations. Perfect for learning Flutter basics and UI design!","archived":false,"fork":false,"pushed_at":"2024-12-21T10:12:00.000Z","size":279,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-05-18T07:15:13.750Z","etag":null,"topics":["calculator-app","dart","flutter-apps","mobile-app","mobile-development"],"latest_commit_sha":null,"homepage":"","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/basuru07.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-12-19T11:08:36.000Z","updated_at":"2024-12-21T10:14:00.000Z","dependencies_parsed_at":"2024-12-19T12:24:48.683Z","dependency_job_id":"d0d37051-47d9-4a61-96a4-c1ae7b14210b","html_url":"https://github.com/basuru07/Calculator-App","commit_stats":null,"previous_names":["basuru07/calculator-app"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/basuru07/Calculator-App","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/basuru07%2FCalculator-App","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/basuru07%2FCalculator-App/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/basuru07%2FCalculator-App/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/basuru07%2FCalculator-App/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/basuru07","download_url":"https://codeload.github.com/basuru07/Calculator-App/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/basuru07%2FCalculator-App/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259316575,"owners_count":22839524,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["calculator-app","dart","flutter-apps","mobile-app","mobile-development"],"created_at":"2025-05-18T07:13:48.991Z","updated_at":"2025-06-11T18:32:04.729Z","avatar_url":"https://github.com/basuru07.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Flutter Calculator App\n\nA sleek, functional, and modern calculator app built with Flutter. This project showcases basic arithmetic operations and a history feature to track your calculations, all wrapped in a responsive and user-friendly UI.\n\n## Features\n\n- **Basic Operations:** Addition, subtraction, multiplication, and division.\n- **Percentage \u0026 Toggle Sign:** Calculate percentages and switch between positive/negative values with ease.\n- **History Drawer:** View your past calculations in a clean, accessible drawer.\n- **Modern Design:** Circular buttons and intuitive layout for a great user experience.\n- **Error Handling:** Displays \"Error\" for invalid mathematical expressions to prevent app crashes.\n\n## Screenshots\n\n|                                                                 |                                                                 |\n|-----------------------------------------------------------------------------|------------------------------------------------------------------------------|\n| ![Screenshot 2024-12-21 153128](https://github.com/user-attachments/assets/0aa475fc-1931-4864-8cfb-f23b5780bcf5) | ![Screenshot 2024-12-21 153146](https://github.com/user-attachments/assets/268b39f3-03fb-43c1-9254-468e9c34d122) |\n\n|                                                                   |                                                                    |\n|-----------------------------------------------------------------------------|------------------------------------------------------------------------------|\n| ![Screenshot 2024-12-21 153204](https://github.com/user-attachments/assets/02d0896d-1e63-4fd6-ab1d-103477c9e1b7) | ![Screenshot 2024-12-21 153604](https://github.com/user-attachments/assets/32e27163-9e36-4b47-9a02-b2009820fdae) |\n\n\n\n## Installation\n\n1. **Clone the Repository:**\n   ```bash\n   https://github.com/basuru07/Calculator-App.git\n   ```\n\n2. **Install Dependencies:**\n   ```bash\n   flutter pub get\n   ```\n\n3. **Run the App:**\n   ```bash\n   flutter run\n   ```\n\n## Usage\n\n- Tap buttons to perform calculations.\n- View calculation history by tapping the **History Icon** in the top-right corner.\n- Clear the current input using the **AC** button.\n- Use **+/-** to toggle the sign of the current number.\n- Perform complex calculations by chaining multiple operations.\n\n## Code Highlights\n\n- **Mathematical Evaluation:** Used the `math_expressions` package for safe and reliable parsing and evaluation of user input.\n- **Dynamic Buttons:** Created a reusable `calcbutton` widget for a consistent design across the app.\n- **State Management:** Managed user input and history efficiently using Flutter's `StatefulWidget`.\n- **Responsive Design:** Ensured the UI works seamlessly across devices of varying screen sizes.\n- **Drawer Navigation:** Integrated a drawer for displaying calculation history with dynamic updates.\n\n## Dependencies\n\n- [Flutter Framework Dependency](https://flutter.dev/)\n- [Math_expressions Dependency](https://pub.dev/packages/math_expressions)\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbasuru07%2Fcalculator-app","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbasuru07%2Fcalculator-app","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbasuru07%2Fcalculator-app/lists"}