fix giphy padding

This commit is contained in:
Salvatore Giordano
2020-11-05 13:57:09 +01:00
parent da2ca55874
commit 4dd68d3de9
+5 -5
View File
@@ -97,7 +97,7 @@ class GiphyAttachment extends StatelessWidget {
top: 0, top: 0,
child: Container( child: Container(
decoration: BoxDecoration( decoration: BoxDecoration(
color: Colors.white, color: Colors.transparent,
borderRadius: BorderRadius.only( borderRadius: BorderRadius.only(
bottomRight: Radius.circular(16.0), bottomRight: Radius.circular(16.0),
)), )),
@@ -133,8 +133,6 @@ class GiphyAttachment extends StatelessWidget {
if (attachment.title != null) if (attachment.title != null)
Container( Container(
alignment: Alignment.bottomCenter, alignment: Alignment.bottomCenter,
child: Material(
color: Colors.white,
child: Row( child: Row(
mainAxisAlignment: MainAxisAlignment.spaceBetween, mainAxisAlignment: MainAxisAlignment.spaceBetween,
children: [ children: [
@@ -181,7 +179,6 @@ class GiphyAttachment extends StatelessWidget {
], ],
), ),
), ),
),
SizedBox( SizedBox(
height: 4.0, height: 4.0,
), ),
@@ -317,7 +314,10 @@ class GiphyAttachment extends StatelessWidget {
), ),
), ),
Padding( Padding(
padding: const EdgeInsets.only(top: 8.0), padding: const EdgeInsets.only(
top: 8.0,
bottom: 8,
),
child: Row( child: Row(
children: [ children: [
Row( Row(