FLUTTER ECOSYSTEM

tcd93/flutter-pos

一个使用 Flutter 编写的移动 POS 应用,兼容 Sunmi 设备

简单POS 项目封面
Stars
241
Forks
101
最近推送(UTC)
2025年2月5日
项目状态
未归档
tcd93 GitHub avatar
GITHUB User

tcd93 ↗

Jack of all trades, master of none, probably better than some masters of one

语言DartHTMLDockerfileSwiftKotlinObjective-C

技术话题

关联插件与示例

使用的依赖

依赖清单 22 项

App 分类

所在榜单

原始 README

以下为英文项目原文快照,最新内容请访问 GitHub。

展开 / 收起项目 README

Simple-POS

⚠ 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.

sunmi_v1s

Support:

  • Android
  • Web (unable to print)
  • English & Vietnamese (auto detect Locale)

Install & Run

Get flutter IMPORTANT: this project works only with Flutter >= 3.10

flutter pub get
flutter run
Running inside WSL2
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

Run Docker containers inside of WSL2
  1. Build image and run container: docker-compose -f .\compose-dev.yaml up -d --build
  2. SSH inside: docker exec -it flutter_dev bash
  3. Accept licences: flutter doctor --android-licenses
  4. Clean: flutter clean
  5. 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

Testing

flutter test

TODO

  • [ ] Remote printing? (via Bluetooth)