Cashier App - Flutter with API Integration
Overview
A point-of-sale (POS) application built with Flutter using GetX for state management and MVVM architecture pattern. Features barcode scanning, offline capabilities, and integrated payment processing.
Features
Authentication & Setup
- 🔑 Username/password login (initial setup)
- 🏪 Store ID retrieval and storage (SharedPreferences)
- 📱 Device binding (owner-only via userID + appKey)
Product Management
- 🌐 API product sync on first login
- 💾 Local SQLite database storage (sqflite)
- 🔍 Product lookup by:
- 📷 Barcode scanning
- ⌨️ Manual barcode entry
Order Processing
- 🛒 Cart functionality with quantity adjustment
- 💰 Integrated payment methods:
- Alipay API integration
- WeChat Pay API integration
- 📄 Order history tracking
Technical Stack
- Framework: Flutter
- Architecture: MVVM Pattern
- State Management: GetX
- Local DB: SQLite (sqflite)
- API: RESTful integration
- Security: SharedPreferences for secure storage
Installation
git clone http://git.sixqin.com:3000/Bilal/CashierApp.git
flutter clean
flutter pub get
Description
Languages
Dart
85.8%
C++
7.1%
CMake
5.6%
Swift
0.7%
C
0.4%
Other
0.3%