Croppable post image

This commit is contained in:
2024-11-11 21:48:50 +08:00
parent f23ffe61f5
commit b166a6e85c
8 changed files with 185 additions and 94 deletions

View File

@ -343,10 +343,7 @@ class _PostEditorScreenState extends State<PostEditorScreen> {
),
if (_writeController.attachments.isNotEmpty)
PostMediaPendingList(
data: _writeController.attachments,
onRemove: (idx) {
_writeController.removeAttachmentAt(idx);
},
controller: _writeController,
).padding(bottom: 8),
Material(
elevation: 2,