refactor codes

This commit is contained in:
amirrezaghabeli
2025-08-12 12:16:33 +03:30
parent 68ba19d210
commit 36c3faa747
17 changed files with 619 additions and 671 deletions
@@ -8,7 +8,7 @@ const String mockYourTendersData = '''
"location": "Sweden",
"countryFlag": "assets/icons/SE.png",
"status": "Completed",
"projectStatus": "Self Control"
"projectStatus": "Self Apply"
},
{
"date": "2025-05-21",
@@ -26,7 +26,7 @@ const String mockYourTendersData = '''
"location": "Italy",
"countryFlag": "assets/icons/SE.png",
"status": "Completed",
"projectStatus": "Self Control"
"projectStatus": "Self Apply"
}
],
"tendersSubmitted": [
@@ -37,7 +37,7 @@ const String mockYourTendersData = '''
"location": "Sweden",
"countryFlag": "assets/icons/SE.png",
"status": "Won",
"projectStatus": "Self Control"
"projectStatus": "Self Apply"
},
{
"date": "2025-05-21",
@@ -55,7 +55,7 @@ const String mockYourTendersData = '''
"location": "Italy",
"countryFlag": "assets/icons/SE.png",
"status": "Won",
"projectStatus": "Self Control"
"projectStatus": "Self Apply"
}
]
}
@@ -9,7 +9,7 @@ final String tendersMockData = '''
"deadline": "2025-06-15",
"location": "Sweden",
"type": "Self Apply",
"profile_match": 0.75,
"profile_match": 75,
"liked": false,
"disliked": false,
"rejected": false,
@@ -23,7 +23,7 @@ final String tendersMockData = '''
"deadline": "2025-07-20",
"location": "Norway",
"type": "Invitation",
"profile_match": 0.85,
"profile_match": 85,
"liked": false,
"disliked": false,
"rejected": false,
@@ -37,7 +37,7 @@ final String tendersMockData = '''
"deadline": "2025-08-10",
"location": "Finland",
"type": "Self Apply",
"profile_match": 0.65,
"profile_match": 65,
"liked": false,
"disliked": false,
"rejected": false,
@@ -51,7 +51,7 @@ final String tendersMockData = '''
"deadline": "2025-09-05",
"location": "Denmark",
"type": "Invitation",
"profile_match": 0.90,
"profile_match": 90,
"liked": false,
"disliked": false,
"rejected": false,
@@ -65,7 +65,7 @@ final String tendersMockData = '''
"deadline": "2025-10-12",
"location": "Iceland",
"type": "Self Apply",
"profile_match": 0.70,
"profile_match": 70,
"liked": false,
"disliked": false,
"rejected": false,