Files
kuaishai2/pubspec.yaml
Developer d91791edaf feat(programs): Excel 模板下载 + .xlsx 解析导入
- 新增 excel 4.0.6 / path_provider 2.1.5 依赖
- ExcelTemplateService:生成 Programs + Steps 双表模板(保存到应用文档目录)
- ExcelImportService:解析 .xlsx 并写入数据库,跳过已存在 code、按 program_code 关联步骤
- programs_page 顶部新增「下载模板」按钮,导入按钮改用 Excel 解析
- 移除被取代的 program_import_service.dart
- AppLocalizations 新增 downloadTemplate 键
- 验证:flutter analyze 无新增 issue;flutter build apk --debug 通过
2026-06-04 15:27:34 +08:00

53 lines
920 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
dev_dependencies:
flutter_test:
sdk: flutter
flutter_lints: ^6.0.0
riverpod_lint: ^2.6.0
flutter:
uses-material-design: true