refactor message widget

This commit is contained in:
Salvatore Giordano
2020-05-11 16:20:03 +02:00
parent daf0989f2d
commit 5b29057ccb
17 changed files with 1189 additions and 1184 deletions
+1 -3
View File
@@ -26,10 +26,9 @@ class ImageAttachment extends StatelessWidget {
attachment: attachment,
);
}
return Column(
mainAxisSize: MainAxisSize.min,
crossAxisAlignment: CrossAxisAlignment.stretch,
crossAxisAlignment: CrossAxisAlignment.start,
children: <Widget>[
Stack(
children: <Widget>[
@@ -42,7 +41,6 @@ class ImageAttachment extends StatelessWidget {
return GestureDetector(
child: Image(
image: provider,
width: MediaQuery.of(context).size.width * 0.7,
fit: BoxFit.cover,
),
onTap: () {