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
+1 -11
View File
@@ -17,16 +17,6 @@ class GroupImage extends StatelessWidget {
@override
Widget build(BuildContext context) {
final secondRow = images
.skip(2)
.map((url) => Flexible(
child: CachedNetworkImage(
imageUrl: url,
fit: BoxFit.cover,
),
))
.toList();
return GestureDetector(
onTap: onTap,
child: ClipRRect(
@@ -81,7 +71,7 @@ class GroupImage extends StatelessWidget {
))
.toList(),
),
)
),
],
),
),