feat: Added new image detail screen

This commit is contained in:
Deven Joshi
2020-11-12 17:04:01 +05:30
parent 264b11362e
commit 3ad6a25a82
6 changed files with 345 additions and 49 deletions
+4 -2
View File
@@ -44,9 +44,11 @@ class ImageAttachment extends StatelessWidget {
MaterialPageRoute(
builder: (_) {
return FullScreenImage(
url: attachment.imageUrl ??
urls: [attachment.imageUrl ??
attachment.assetUrl ??
attachment.thumbUrl,
attachment.thumbUrl],
userName: message.user.name,
sentAt: message.createdAt,
);
},
),