Added liked tenders desigm and data from api

This commit is contained in:
llsajjad
2025-09-02 16:56:42 +03:30
parent e1b4c1dae7
commit 79874c40b1
32 changed files with 2028 additions and 23 deletions
+9 -4
View File
@@ -81,7 +81,7 @@ class TabletHomePage extends StatelessWidget {
homeViewModel.tenderApprovalsStateResponse!,
),
SizedBox(height: 8.0.h()),
_secondTenderCardsRow(homeViewModel),
_secondTenderCardsRow(homeViewModel,context),
SizedBox(height: 32.0.h()),
_yourTenderText(homeViewModel),
SizedBox(height: 8.0.h()),
@@ -173,7 +173,10 @@ class TabletHomePage extends StatelessWidget {
}
// ignore: unused_element
Widget _secondTenderCardsRow(HomeViewModel homeViewModel) {
Widget _secondTenderCardsRow(
HomeViewModel homeViewModel,
BuildContext context,
) {
return Row(
mainAxisAlignment: MainAxisAlignment.spaceBetween,
children: [
@@ -198,10 +201,12 @@ class TabletHomePage extends StatelessWidget {
title: HomeStrings.likedTenders,
amount: homeViewModel.feedbackStats?.totalLikes.toString() ?? '0',
textColor: AppColors.grey80,
enableTap: false,
enableTap: true,
width: double.infinity,
height: 148,
onTap: () {},
onTap: () {
LikedTendersRouteData().push(context);
},
),
),
],