feat: 图片预览与发送全量实现 (#31~#35)
- #31 ImageMessageBubble: typ=2 气泡,max 220pt / min 80pt 尺寸规则,进度环叠层 - #32 ImageViewerPage: photo_view 全屏查看,PhotoViewGallery 多图滑动,保存+分享工具栏 - #33 ImagePickerSheet + SendImageUseCase: 相册/相机选图(最多9张),裁剪,dart:ui 解析宽高,FormData CDN 上传,typ=2 发送 - #34 image_cropper 接入:_PreviewTile 点击裁剪,iOS TOCropViewController 对齐 - #35 _MessageBubble BubbleKind 路由:typ switch → 各媒体气泡,输入栏新增附件按钮 Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -103,6 +103,21 @@ dependencies:
|
||||
# 小程序 WebView(#25)
|
||||
webview_flutter: ^4.8.0
|
||||
|
||||
# 图片预览 — 全屏 pinch-to-zoom(#32)
|
||||
photo_view: ^0.15.0
|
||||
|
||||
# 图片选取 — 相册/相机(#33)
|
||||
image_picker: ^1.1.2
|
||||
|
||||
# 图片编辑 — 裁剪/旋转(#34)
|
||||
image_cropper: ^5.0.1
|
||||
|
||||
# 图片保存到相册(#32)
|
||||
image_gallery_saver_plus: ^3.0.5
|
||||
|
||||
# 分享(#32)
|
||||
share_plus: ^10.0.0
|
||||
|
||||
|
||||
dev_dependencies:
|
||||
flutter_test:
|
||||
|
||||
Reference in New Issue
Block a user