Wrap email within a flexible widget to prevent overflows

This commit is contained in:
Vishnu Mohandas 2020-10-13 07:25:24 +05:30
parent 181d7af1a8
commit 4c94a2b1d5

View file

@ -205,9 +205,11 @@ class EmailItemWidget extends StatelessWidget {
child: Row(
mainAxisAlignment: MainAxisAlignment.spaceBetween,
children: [
Text(
email,
style: TextStyle(fontSize: 16),
Flexible(
child: Text(
email,
style: TextStyle(fontSize: 16),
),
),
Icon(
Icons.delete_forever,