fix: remove expanded widget from country tile (#1765)

This commit is contained in:
ggurdin 2025-02-11 13:36:26 -05:00 committed by GitHub
parent 420a5dc4a7
commit cc42bee88a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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(