fix giphy borderradius

This commit is contained in:
Salvatore Giordano
2020-12-04 16:08:46 +01:00
parent 5365082e4a
commit e80a30dca4
+6
View File
@@ -79,6 +79,11 @@ class GiphyAttachment extends StatelessWidget {
); );
})); }));
}, },
child: ClipRRect(
borderRadius: BorderRadius.only(
topLeft: Radius.circular(8),
topRight: Radius.circular(8),
),
child: CachedNetworkImage( child: CachedNetworkImage(
height: size?.height, height: size?.height,
width: size?.width, width: size?.width,
@@ -102,6 +107,7 @@ class GiphyAttachment extends StatelessWidget {
), ),
), ),
), ),
),
Positioned( Positioned(
bottom: 16, bottom: 16,
left: 16, left: 16,