add image group

This commit is contained in:
Salvatore Giordano
2020-07-23 11:02:46 +02:00
parent d03a70e39a
commit 02a3642894
4 changed files with 183 additions and 64 deletions
+3 -3
View File
@@ -17,8 +17,8 @@ class ImageAttachment extends StatelessWidget {
Key key,
@required this.attachment,
@required this.message,
@required this.size,
this.messageTheme,
this.size,
}) : super(key: key);
@override
@@ -30,8 +30,8 @@ class ImageAttachment extends StatelessWidget {
attachment: attachment,
);
}
return SizedBox.fromSize(
size: size,
return ConstrainedBox(
constraints: BoxConstraints.loose(size),
child: Stack(
children: <Widget>[
Column(