diff --git a/lib/src/message_widget.dart b/lib/src/message_widget.dart index 55d08424..6f81f149 100644 --- a/lib/src/message_widget.dart +++ b/lib/src/message_widget.dart @@ -359,6 +359,7 @@ class _MessageWidgetState extends State { return Stack( children: [ Column( + crossAxisAlignment: CrossAxisAlignment.stretch, children: [ if (urlAttachment.imageUrl != null) SizedBox( @@ -370,7 +371,11 @@ class _MessageWidgetState extends State { child: Stack( clipBehavior: Clip.antiAlias, children: [ - CachedNetworkImage(imageUrl: urlAttachment.imageUrl), + Center( + child: CachedNetworkImage( + imageUrl: urlAttachment.imageUrl, + ), + ), Positioned( left: 0.0, bottom: 0.0,