An open API service indexing awesome lists of open source software.

https://github.com/fluttersmith/ios-procalc

ProCalc is a feature-rich Flutter-based calculator app inspired by the iOS calculator. It includes advanced arithmetic functions, memory operations, and history tracking, providing a seamless and modern user experience.
https://github.com/fluttersmith/ios-procalc

arithmetic calculator calculator-app dart flutter flutter-apps history ios-style math math-expressions memory-functions mobile-app opensource opensource-projects provider state-management trigonometry

Last synced: 22 days ago
JSON representation

ProCalc is a feature-rich Flutter-based calculator app inspired by the iOS calculator. It includes advanced arithmetic functions, memory operations, and history tracking, providing a seamless and modern user experience.

Awesome Lists containing this project

README

        

# ๐Ÿงฎ ProCalc Documentation

## ๐Ÿ“– Overview

ProCalc is a **Flutter-based** calculator application designed to provide an intuitive and powerful arithmetic experience. It mimics the **iOS-style calculator** while introducing additional features such as **history tracking, memory functions, and advanced arithmetic**.

---

![ProCalc Demo](https://media.giphy.com/media/26AHONQ79FdWZhAI0/giphy.gif)

---

## ๐Ÿšง Project Status

โœ… **ProCalc** is **fully functional** and can be used as a **basic and advanced calculator**. Future updates may include **scientific calculator features**, **graph plotting**, and **dark/light theme toggles**.

---

## ๐ŸŒŸ Features

### 1๏ธโƒฃ Basic Arithmetic
โœ”๏ธ Addition, Subtraction, Multiplication, and Division
โœ”๏ธ Percentage Calculation
โœ”๏ธ Supports decimals and multi-digit numbers

### 2๏ธโƒฃ Advanced Arithmetic
โœ”๏ธ **Exponentiation** (Power calculations like `2^3`)
โœ”๏ธ **Trigonometric Functions** (sin, cos, tan)
โœ”๏ธ **Parentheses Support** (e.g., `(2+3) * 4`)

### 3๏ธโƒฃ Calculator History
โœ”๏ธ View past calculations in a **scrollable history panel**
โœ”๏ธ Tap on a previous result to reuse it

### 4๏ธโƒฃ Memory Functions
โœ”๏ธ **M+** (Memory Add) - Store values in memory
โœ”๏ธ **M-** (Memory Subtract) - Deduct values from memory
โœ”๏ธ **MR** (Memory Recall) - Retrieve stored values
โœ”๏ธ **MC** (Memory Clear) - Reset memory storage

### 5๏ธโƒฃ iOS-Style UI
โœ”๏ธ A sleek and modern **iOS-like** calculator interface
โœ”๏ธ **Color-coded buttons**:
- **Orange** for operations (+, -, ร—, รท)
- **Light gray** for functions (C, ยฑ, %)
- **Dark gray** for numbers (0-9)

### 6๏ธโƒฃ Responsive Design
โœ”๏ธ Works on **all screen sizes**
โœ”๏ธ Optimized for both **phones and tablets**

---

## ๐Ÿ› ๏ธ Tech Stack

| Technology | Purpose |
|-------------|---------|
| **Flutter** | Cross-platform app development |
| **Dart** | Primary programming language |
| **Provider** | State management for history and memory functions |
| **math_expressions** | Parsing and evaluating mathematical expressions |

---

## ๐Ÿš€ Installation

### Prerequisites
Ensure you have the following installed before running the app:
โœ… **Flutter SDK** (Latest stable version)
โœ… **Dart SDK** (Bundled with Flutter)
โœ… **Android Studio / VS Code** (With Flutter extensions)

### Steps to Run

1๏ธโƒฃ **Clone the Repository**

git clone https://github.com/yourusername/procalc.git
cd procalc

2๏ธโƒฃ Install Dependencies




flutter pub get

3๏ธโƒฃ Run the App


flutter run

๐Ÿ“Œ Future Improvements
โœ… Scientific Mode: Add log, square root, and factorial functions
โœ… Graphing Feature: Plot graphs for functions like sin(x)
โœ… Theme Switching: Allow users to toggle between light and dark mode

๐Ÿ“ License
This project is licensed under the MIT License. See LICENSE for more details.