Posting with attachment

This commit is contained in:
2025-04-26 15:41:57 +08:00
parent 4af64ae89b
commit d4538a9ef6
12 changed files with 401 additions and 39 deletions

View File

@ -44,7 +44,10 @@ class CloudFileList extends StatelessWidget {
if (allImages) {
return ConstrainedBox(
constraints: BoxConstraints(maxHeight: maxHeight),
constraints: BoxConstraints(
maxHeight: maxHeight,
minWidth: double.infinity,
),
child: AspectRatio(
aspectRatio: calculateAspectRatio(),
child: CarouselView(
@ -60,7 +63,10 @@ class CloudFileList extends StatelessWidget {
}
return ConstrainedBox(
constraints: BoxConstraints(maxHeight: maxHeight),
constraints: BoxConstraints(
maxHeight: maxHeight,
minWidth: double.infinity,
),
child: AspectRatio(
aspectRatio: calculateAspectRatio(),
child: ListView.separated(