show eu flag if it is empty

This commit is contained in:
amirrezaghabeli
2025-09-14 11:52:59 +03:30
parent 578c933369
commit 7462d71b33
7 changed files with 29 additions and 27 deletions
+4 -3
View File
@@ -114,8 +114,9 @@ class TendersListItem extends StatelessWidget {
),
),
SizedBox(width: 8.0.w()),
if (tender.countryCode != null)
Flag(countryCode: tender.countryCode!),
tender.countryCode != null
? Flag(countryCode: tender.countryCode!)
: const Flag(countryCode: ''),
Spacer(),
],
),
@@ -124,4 +125,4 @@ class TendersListItem extends StatelessWidget {
),
);
}
}
}