Files
photo-live/apps/mobile/pubspec.yaml
T
浅念 df0c318599 feat(app): share redesign — card share (system), QR poster (banner+title+time+venue+QR, downloadable), copy link
- 三方式(用户需求):①卡片模式默认=系统分享面板(share_plus SharePlus.
  instance,微信/其他应用,文本=标题+链接)②生成二维码=海报弹层——顶部
  宣传图(banner→cover→品牌占位回退)+ 活动标题 + 时间 + 地址 + 二维码,
  「下载海报图」RepaintBoundary 3x 渲染 PNG → gal 存相册 ③复制链接
- 依赖 share_plus + gal;分享/保存均 Provider 注入(测试替身)
- 测试适配三方式结构 + 海报弹层断言(397/397 全绿、analyze 0)

Co-Authored-By: Claude Code <noreply@anthropic.com>
2026-09-23 11:27:32 +08:00

56 lines
1.3 KiB
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: photo_live
description: 工作人员现场影像上传 App(P3,Android 优先 / iOS 待 G3 编译)。
publish_to: 'none'
version: 1.0.0+1
environment:
sdk: ^3.12.2
dependencies:
flutter:
sdk: flutter
flutter_localizations:
sdk: flutter
# 状态管理
flutter_riverpod: ^3.4.3
# 网络
dio: ^5.11.1
# 本地任务库(Task 5 建 schema)
drift: ^2.35.0
sqlite3_flutter_libs: ^0.6.0+eol
# 会话与凭证存储
flutter_secure_storage: ^11.2.0
# 设备标识持久(sourceDeviceId,非机密——shared_preferences 足够)
shared_preferences: ^2.5.3
# 选图 / 连拍
image_picker: ^1.2.3
camera: ^0.12.1
# 分享二维码
qr_flutter: ^4.1.0
# 路径
path_provider: ^2.1.6
path: ^1.9.1
# l10n(与 flutter_localizations 来自 SDK 的约束保持一致)
intl: 0.20.2
timezone: ^0.11.1
url_launcher: ^6.3.2
share_plus: ^13.3.0
gal: ^2.3.3
dev_dependencies:
flutter_test:
sdk: flutter
# 集成测试(P3 Task 11:MuMu + 真实 cn-api/MinIO/ov 全链路)
integration_test:
sdk: flutter
flutter_lints: ^6.0.0
build_runner: ^2.15.1
drift_dev: ^2.35.0
flutter:
# l10n 代码生成(arb 见 lib/l10n/,配置见 l10n.yaml)
generate: true
uses-material-design: true