added country flags

This commit is contained in:
amirrezaghabeli
2025-08-19 09:03:12 +03:30
parent 759179c587
commit c38527b65d
2 changed files with 6 additions and 1 deletions
+5 -1
View File
@@ -1,3 +1,4 @@
import 'package:country_flags/country_flags.dart';
import 'package:flutter/material.dart';
import 'package:flutter_svg/svg.dart';
import 'package:tm_app/core/constants/strings.dart';
@@ -116,7 +117,10 @@ class TendersListItem extends StatelessWidget {
SizedBox(
width: 32.0.w(),
height: 21.0.h(),
child: Image.asset(AssetsManager.seFlag, fit: BoxFit.cover),
child: CountryFlag.fromCountryCode(
tender.countryCode!,
shape: RoundedRectangle(4),
),
),
Spacer(),
// Container(