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.
- Host: GitHub
- URL: https://github.com/fluttersmith/ios-procalc
- Owner: FlutterSmith
- License: cc0-1.0
- Created: 2025-02-01T00:14:12.000Z (3 months ago)
- Default Branch: main
- Last Pushed: 2025-02-01T00:41:34.000Z (3 months ago)
- Last Synced: 2025-04-05T13:15:32.168Z (22 days ago)
- Topics: 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
- Language: Dart
- Homepage:
- Size: 280 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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**.
---

---
## ๐ง 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.