{"id":23447235,"url":"https://github.com/chathumiamarasinghe/calculator_app","last_synced_at":"2026-05-09T15:03:49.615Z","repository":{"id":267574548,"uuid":"891345740","full_name":"chathumiamarasinghe/Calculator_App","owner":"chathumiamarasinghe","description":"A Flutter-based calculator app designed for seamless cross-platform functionality, supporting Android, iOS, web, and desktop environments","archived":false,"fork":false,"pushed_at":"2024-12-24T06:52:14.000Z","size":37,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-15T16:47:42.670Z","etag":null,"topics":["android-app","calculator-app","cross-platform","dart","flutter","ios-app","mobile-app","xcode"],"latest_commit_sha":null,"homepage":"","language":"Dart","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/chathumiamarasinghe.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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-11-20T07:01:11.000Z","updated_at":"2024-12-24T10:17:46.000Z","dependencies_parsed_at":"2024-12-11T06:28:12.712Z","dependency_job_id":"60ff5ffb-98b4-4c8c-8120-26386f6b001b","html_url":"https://github.com/chathumiamarasinghe/Calculator_App","commit_stats":null,"previous_names":["chathumiamarasinghe/calculator_app"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chathumiamarasinghe%2FCalculator_App","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chathumiamarasinghe%2FCalculator_App/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chathumiamarasinghe%2FCalculator_App/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chathumiamarasinghe%2FCalculator_App/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/chathumiamarasinghe","download_url":"https://codeload.github.com/chathumiamarasinghe/Calculator_App/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248137952,"owners_count":21053788,"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":["android-app","calculator-app","cross-platform","dart","flutter","ios-app","mobile-app","xcode"],"created_at":"2024-12-23T21:16:52.853Z","updated_at":"2026-05-09T15:03:49.088Z","avatar_url":"https://github.com/chathumiamarasinghe.png","language":"Dart","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Calculator App  \n\nA modern and feature-rich calculator app built using **Flutter**. This app provides a sleek and intuitive interface for performing various mathematical operations.  \n\n## Features  \n\n- **Basic Operations**: Addition, Subtraction, Multiplication, and Division.  \n- **Advanced Operations**:  \n  - Calculate percentages.  \n  - Compute square roots.  \n- **Responsive Design**: Adapts seamlessly to different screen sizes.  \n- **Calculation History**: View your previous calculations.  \n- **Error Handling**: Clear and user-friendly error messages for invalid operations (e.g., division by zero).  \n\n## Technologies Used  \n\n- **Language**: Dart  \n- **Framework**: Flutter  \n- **UI Components**: Material Design  \n\n## Getting Started  \n\n### Prerequisites  \n\n1. Install Flutter SDK from the [official site](https://flutter.dev/docs/get-started/install).  \n2. Ensure you have an emulator or a physical device set up for development.  \n\n### Installation  \n\n1. **Clone the repository:**  \n   ```bash\n   git clone https://github.com/chathumiamarasinghe/Calculator_App.git\n2. **Navigate to the project directory:**\n```bash\n   cd calculator-app\n```\n3. **Run the app on an emulator or physical device:**\n```bash\n   flutter run\n```\n4. **How to Use**\n   \n- Launch the app.\n- Perform calculations by tapping the buttons for numbers and operations.\n- Use the \"√\" button for square root and \"%\" for percentage.\n- Tap the history icon (top-right) to view past calculations.\n- Use \"C\" to clear the current input and \"⌫\" to delete the last digit or operator.\n\n5. **Code Overview**\n\n- The core functionality of the app is in the CalculatorScreen class, which manages:\n\n- UI Rendering: Builds a responsive calculator interface.\n- State Management: Handles user input, operations, and results dynamically.\n- Error Handling: Displays error dialogs for invalid inputs.\n\n## Videos \u0026 Screenshots  \n\n### Feature Demo Video - ios video\n\n[![Watch the video](https://img.youtube.com/vi/pMAypgSiX2c/0.jpg)](https://youtu.be/pMAypgSiX2c?si=LlZOh8dwJUr-t2jk)\n\n### Feature Demo Video - Android video\n\n[![Watch the short video](https://img.youtube.com/vi/2AJ1hbyLyNM/0.jpg)](https://youtube.com/shorts/2AJ1hbyLyNM?si=GOkP8KaXszKtrFiV)\n\n\n### Home Screen  \n\u003cimg src=\"https://github.com/user-attachments/assets/9e13bf33-5619-48ab-9ed1-f9fd563fa93d\" alt=\"Home Screen\" width=\"200\"/\u003e  \n\n### History Screen  \n\u003cimg src=\"https://github.com/user-attachments/assets/175ccef6-594b-44ab-b7f6-00c7f0920f5d\" alt=\"Calculation Screen\" width=\"200\"/\u003e  \n\n### Error Screen  \n\u003cimg src=\"https://github.com/user-attachments/assets/705c9a32-d959-4e90-8788-0dc0a2260f43\" alt=\"History Screen\" width=\"200\"/\u003e  \n  \n\u003cimg src=\"https://github.com/user-attachments/assets/b8c89704-5f32-4449-a364-58cef3b31bca\" alt=\"Error Message\" width=\"200\"/\u003e  \n\n### calculation Screen  \n\u003cimg src=\"https://github.com/user-attachments/assets/2ce261cf-13c4-4d63-94d2-205d56d2ab28\" alt=\"Dark Mode\" width=\"200\"/\u003e  \n\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchathumiamarasinghe%2Fcalculator_app","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fchathumiamarasinghe%2Fcalculator_app","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchathumiamarasinghe%2Fcalculator_app/lists"}