Styling
continuous-integration/drone/push Build is failing Details

This commit is contained in:
konrad 2019-03-18 11:30:14 +01:00
parent e5da5b921a
commit 456b8ca15f
Signed by: konrad
GPG Key ID: F40E70337AB24C9B
1 changed files with 13 additions and 4 deletions

View File

@ -30,7 +30,7 @@ class LabelComponentState extends State<LabelComponent> {
return GestureDetector(
onTap: widget.onTap,
child: Container(
padding: EdgeInsets.all(8),
padding: EdgeInsets.symmetric(vertical: 5, horizontal: 8),
decoration: BoxDecoration(
color: widget.backgroundColor,
borderRadius: BorderRadius.all(Radius.circular(3))),
@ -43,9 +43,18 @@ class LabelComponentState extends State<LabelComponent> {
),
),
GestureDetector(
child: Icon(
Icons.close,
color: vWhite,
child: Container(
padding: EdgeInsets.all(3),
margin: EdgeInsets.symmetric(horizontal: 3),
decoration: BoxDecoration(
color: Color.fromARGB(50, 0, 0, 0),
shape: BoxShape.circle,
),
child: Icon(
Icons.close,
color: vWhite,
size: 15,
),
),
onTap: widget.onDelete,
),