fix: remove expanded widget from country tile (#1765)
This commit is contained in:
parent
420a5dc4a7
commit
cc42bee88a
1 changed files with 10 additions and 12 deletions
|
|
@ -100,19 +100,17 @@ class CountryPickerTile extends StatelessWidget {
|
|||
style: const TextStyle(fontSize: 25),
|
||||
),
|
||||
const SizedBox(width: 10),
|
||||
Expanded(
|
||||
child: Text(
|
||||
CountryDisplayUtil.countryDisplayName(
|
||||
country.name,
|
||||
context,
|
||||
) ??
|
||||
'',
|
||||
style: const TextStyle().copyWith(
|
||||
color: Theme.of(context).textTheme.bodyLarge!.color,
|
||||
fontSize: 14,
|
||||
),
|
||||
overflow: TextOverflow.ellipsis,
|
||||
Text(
|
||||
CountryDisplayUtil.countryDisplayName(
|
||||
country.name,
|
||||
context,
|
||||
) ??
|
||||
'',
|
||||
style: const TextStyle().copyWith(
|
||||
color: Theme.of(context).textTheme.bodyLarge!.color,
|
||||
fontSize: 14,
|
||||
),
|
||||
overflow: TextOverflow.ellipsis,
|
||||
),
|
||||
if (isDropdown)
|
||||
Icon(
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue