Skip to content

A clean and modern calculator app, developed using Flutter. Get quick results for basic math with a simple user interface.

Notifications You must be signed in to change notification settings

snehageorge/pocket-math-app

Repository files navigation

PocketMath

A clean and modern calculator app, developed using Flutter. Get quick results for basic math with a simple user interface. The app performs basic mathematical operations like addition, subtraction and multiplication.

Features

  • Addition, subtraction, multiplication operations.
  • Handles input errors and incomplete expressions gracefully.
  • Operator replacement when changing operators mid-expression.
  • iOS-style UI with rounded buttons and smooth gradients.
  • Display updates reactively to reflect inputs and error states.
  • Basic operations in the ViewModel are unit tested to ensure correct calculation behavior.

Tech Stack

  • Language: Dart
  • Framework: Flutter
  • Architecture: MVVM
  • State Management: Provider (ChangeNotifier)
  • UI: Flutter Widgets (Column, Row, Expanded, Container, InkWell)
  • Platform Support: Android (minSdk 31, targetSdk 34), iOS (15.6+)

Requirements

  • Flutter 3.35.1 or later
  • Dart 3.9.0 or later
  • Android: minSdk 31, targetSdk 34
  • iOS: iOS 15.6 or later

Future Improvements

  • Add division and decimal point support.
  • Implement continuous calculations like iOS (e.g., repeated = presses).
  • Add history view to track past calculations.
  • Introduce unit tests and widget tests for robust regression coverage.
  • Responsive layout for landscape mode.
  • Increase the limit of digits.

About

A clean and modern calculator app, developed using Flutter. Get quick results for basic math with a simple user interface.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published