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 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.
✔️ Addition, Subtraction, Multiplication, and Division
✔️ Percentage Calculation
✔️ Supports decimals and multi-digit numbers
✔️ Exponentiation (Power calculations like 2^3
)
✔️ Trigonometric Functions (sin, cos, tan)
✔️ Parentheses Support (e.g., (2+3) * 4
)
✔️ View past calculations in a scrollable history panel
✔️ Tap on a previous result to reuse it
✔️ 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
✔️ 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)
✔️ Works on all screen sizes
✔️ Optimized for both phones and tablets
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 |
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)
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.