{"id":20785710,"url":"https://github.com/aadityapanda/calculator","last_synced_at":"2025-12-24T22:45:37.073Z","repository":{"id":192177041,"uuid":"686222915","full_name":"AadityaPanda/Calculator","owner":"AadityaPanda","description":"A Flutter-based calculator application providing basic arithmetic operations, designed with a clean, dark-themed UI.","archived":false,"fork":false,"pushed_at":"2024-10-28T07:05:07.000Z","size":272,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-18T09:49:01.563Z","etag":null,"topics":["android-app","android-studio","calculator-app","dart","flutter-apps","flutter-calculator"],"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/AadityaPanda.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":"2023-09-02T04:43:08.000Z","updated_at":"2024-10-31T11:09:53.000Z","dependencies_parsed_at":null,"dependency_job_id":"de8d2fa9-abd2-4262-a89b-80538d555285","html_url":"https://github.com/AadityaPanda/Calculator","commit_stats":null,"previous_names":["aadityapanda/calculator"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AadityaPanda%2FCalculator","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AadityaPanda%2FCalculator/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AadityaPanda%2FCalculator/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AadityaPanda%2FCalculator/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/AadityaPanda","download_url":"https://codeload.github.com/AadityaPanda/Calculator/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243129033,"owners_count":20240920,"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","android-studio","calculator-app","dart","flutter-apps","flutter-calculator"],"created_at":"2024-11-17T14:47:01.120Z","updated_at":"2025-12-24T22:45:37.033Z","avatar_url":"https://github.com/AadityaPanda.png","language":"C++","readme":"# Calculator App\n\nA Flutter-based calculator application providing basic arithmetic operations, designed with a clean, dark-themed UI.\n\n## Features\n\n- **Basic Arithmetic Operations**: Supports addition, subtraction, multiplication, and division.\n- **Percentage Conversion**: Calculates percentage of the displayed number.\n- **Clear and Delete Functions**: \"AC\" button to reset all fields, and \"DEL\" button to remove the last entered character.\n- **Responsive Layout**: Buttons adjust dynamically for a consistent user experience across devices.\n- **Dark Theme**: Minimalistic dark theme for a smooth, visually appealing interface.\n\n## Screenshots\n\n![Screenshot 2023-08-28 225201](https://github.com/AadityaPanda/calculator/assets/95534176/2fc076a1-bc9c-4fe0-a4eb-435c3a8b6cbb)\n![Screenshot 2023-08-28 225305](https://github.com/AadityaPanda/calculator/assets/95534176/91a51260-485c-4c8a-82cd-2e4dde67a7de)\n\n## Getting Started\n\nFollow these instructions to get a local copy of the project up and running.\n\n### Prerequisites\n\n- [Flutter SDK](https://flutter.dev/docs/get-started/install)\n- Any IDE supporting Flutter (e.g., VS Code, Android Studio)\n\n### Installation\n\n1. **Clone the repository:**\n   ```bash\n   git clone https://github.com/AadityaPanda/calculator.git\n   cd calculator-app\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## Project Structure\n\n- `main.dart`: Initializes the app and sets up the dark theme.\n- `calculator_screen.dart`: Contains the main layout of the calculator screen, button actions, and calculator logic.\n- `button_values.dart`: Defines the buttons and their labels used in the calculator.\n\n## Code Highlights\n\n### main.dart\n\n```dart\nimport 'package:flutter/material.dart';\nimport 'calculator_screen.dart';\n\nvoid main() {\n  runApp(const MyApp());\n}\n\nclass MyApp extends StatelessWidget {\n  const MyApp({super.key});\n\n  @override\n  Widget build(BuildContext context) {\n    return MaterialApp(\n      title: 'Calculator',\n      debugShowCheckedModeBanner: false,\n      theme: ThemeData.dark(),\n      home: const CalculatorScreen(),\n    );\n  }\n}\n```\n\n### calculator_screen.dart\n\nHandles button presses, arithmetic logic, and displays results.\n\n### button_values.dart\n\nDefines constants for each button label, which are used throughout the app for consistency and ease of maintenance.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faadityapanda%2Fcalculator","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faadityapanda%2Fcalculator","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faadityapanda%2Fcalculator/lists"}