Files
kuaishai2/pubspec.yaml
Developer 3ab2232845 refactor(device): 替换消息ID生成器为UUID实现
- 移除自定义时间戳+随机数ID生成逻辑
- 集成uuid包依赖并配置版本
- 使用Uuid.v4()替换原有next()方法实现
- 更新MessageIdGenerator类文档注释
- 在JSON协议层添加设备日志警告输出
- 修改pubspec.yaml添加uuid依赖声明
2026-06-04 16:45:06 +08:00

56 lines
976 B
YAML
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
name: kuaishai2
description: "污水毒品快检一体机控制软件"
publish_to: 'none'
version: 1.0.0+1
environment:
sdk: ^3.11.5
dependencies:
flutter:
sdk: flutter
flutter_localizations:
sdk: flutter
cupertino_icons: ^1.0.8
# 状态管理
flutter_riverpod: ^2.6.0
# 路由导航
go_router: ^15.0.0
# 数据存储
sqflite: ^2.3.0
path: ^1.9.0
# 持久化存储
shared_preferences: ^2.3.3
# 文件选择器
file_picker: ^8.1.7
# 路径解析(保存导入/导出文件)
path_provider: ^2.1.5
# Excel 读写(生成导入模板 + 解析用户填好的 .xlsx
excel: ^4.0.2
# 国际化
intl: ^0.20.2
# USB 串口通信Android USB Host 模式下的 CH340/FTDI/CP210x/PL2303 等芯片)
usb_serial: ^0.5.0
# 串口消息 ID 生成UUID v4
uuid: ^4.5.1
dev_dependencies:
flutter_test:
sdk: flutter
flutter_lints: ^6.0.0
riverpod_lint: ^2.6.0
flutter:
uses-material-design: true