Skip to content

faishalkc/Calculator-App

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 

Repository files navigation

Calculator App

Electron Flutter Platform License

A lightweight cross-platform calculator application built using a shared web-based interface (HTML, CSS, JavaScript), packaged into:

  • 🖥 Desktop App using Electron
  • 📱 Mobile App using Flutter WebView

The user interface is styled using Pico.css, a minimal and semantic CSS framework, ensuring a clean, consistent, and lightweight experience across platforms.


Screenshot

Calculator Screenshot

Features

  • Basic arithmetic operations
  • Cross-platform support (Desktop & Android)
  • Shared web-based UI (single logic across platforms)
  • Keyboard input support (desktop)
  • Responsive calculator layout
  • Clean and lightweight interface
  • Native-like experience on mobile (WebView + haptic feedback)
  • Dark mode support (system preference)

Desktop (Electron)

  • Single instance application
  • Navigation protection
  • Disabled external window creation
  • Zoom disabled for consistent UI
  • Secure Electron configuration

Mobile (Flutter)

  • WebView-based rendering
  • Native haptic feedback integration
  • Orientation locked to portrait
  • Edge-to-edge UI
  • System-aware status bar & navigation bar

Security Configuration (Electron)

  • contextIsolation: true
  • nodeIntegration: false
  • Navigation blocked
  • External window creation disabled
  • Zoom disabled

Download Release

You can download compiled versions from the Releases page.


Tech Stack

Core

  • HTML
  • CSS
  • JavaScript
  • Pico.css

Desktop

  • Electron
  • Node.js

Mobile

  • Flutter
  • WebView

Project Structure

calculator-app
│
├─ desktop/                # Electron (Desktop wrapper)
│   ├─ main.js
│   ├─ package.json
│   └─ app/                # Web UI (HTML, CSS, JS)
│
├─ mobile/                 # Flutter (Mobile wrapper)
│   ├─ lib/
│   │   └─ main.dart       
│   │
│   └─ app/                # Web UI (HTML, CSS, JS)
│
└─ README.md

Installation

Clone the repository:

git clone https://github.com/faishalkc/Calculator-App.git
cd Calculator-App

Run Desktop App (Electron)

cd desktop
npm install
npm start

Run Mobile App (Flutter)

cd mobile
flutter pub get
flutter run

Build

Desktop (Electron)

npm run build

Output:

desktop/dist/

Mobile (Flutter)

flutter build apk --release

Output:

build/app/outputs/flutter-apk/

License

This project is licensed under the ISC License.

About

A lightweight desktop and mobile calculator built with HTML, CSS, and JavaScript.

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors