fix image alignent

This commit is contained in:
Salvatore Giordano
2020-11-10 17:28:10 +01:00
parent 2d125ea836
commit a91f1c5000
+6 -1
View File
@@ -359,6 +359,7 @@ class _MessageWidgetState extends State<MessageWidget> {
return Stack(
children: [
Column(
crossAxisAlignment: CrossAxisAlignment.stretch,
children: [
if (urlAttachment.imageUrl != null)
SizedBox(
@@ -370,7 +371,11 @@ class _MessageWidgetState extends State<MessageWidget> {
child: Stack(
clipBehavior: Clip.antiAlias,
children: [
CachedNetworkImage(imageUrl: urlAttachment.imageUrl),
Center(
child: CachedNetworkImage(
imageUrl: urlAttachment.imageUrl,
),
),
Positioned(
left: 0.0,
bottom: 0.0,