added company profile and fixed some parts

This commit is contained in:
amirrezaghabeli
2025-08-20 14:46:06 +03:30
parent 266d974786
commit 37f4b20bfa
14 changed files with 844 additions and 66 deletions
@@ -1,3 +1,4 @@
import 'package:country_flags/country_flags.dart';
import 'package:flutter/material.dart';
import 'package:flutter_svg/svg.dart';
@@ -18,12 +19,14 @@ class TenderCard extends StatelessWidget {
final String? statusIcon;
final Color? statusCardColor;
final Color? statusTextColor;
final String countryCode;
const TenderCard({
required this.date,
required this.title,
required this.description,
required this.location,
required this.countryCode,
this.countryFlag = 'assets/icons/SE.png',
this.status = 'Completed',
this.projectStatus = 'Self Control',
@@ -155,10 +158,13 @@ class TenderCard extends StatelessWidget {
),
SizedBox(width: 8.0.w()),
// Country flag
Image.asset(
countryFlag,
SizedBox(
width: 32.0.w(),
height: 21.0.h(),
child: CountryFlag.fromCountryCode(
countryCode,
shape: RoundedRectangle(4),
),
),
],
),