⚠ Check this out! version 2 is at https://tcd93.github.io/flutter_2 ⚠
❤️❤️ Online Demo for v2❤️❤️
❤️❤️ Online Demo for v1❤️❤️
A mobile POS written in Flutter, suitable for small cafe/restaurant, fully offline.
Tested & printable on Sunmi V1S device.
Support:
- Android
- Web (unable to print)
- English & Vietnamese (auto detect Locale)
Get flutter IMPORTANT: this project works only with Flutter >= 3.10
flutter pub get
flutter run
Use Docker for Destop's Dev Environment (note that usbip over Docker Desktop, as of now, hasn't work; you can try debugging over ADB tcpip)
Or
- Build image and run container:
docker-compose -f .\compose-dev.yaml up -d --build
- SSH inside:
docker exec -it flutter_dev bash
- Accept licences:
flutter doctor --android-licenses
- Clean:
flutter clean
- Run:
- Web:
flutter run -d web-server
(Visual studio code should forward the port automatically if you use Remote window) - USB-connected Android device: follow the instruction here to connect your phone into WSL2, remember to kill the running ADB server on your Windows host machine first
- Web:
flutter test
- Remote printing? (via Bluetooth)