added country flags
This commit is contained in:
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user