tender screen changes

This commit is contained in:
amirrezaghabeli
2025-08-10 08:28:45 +03:30
parent 1973097a42
commit 988380e95e
8 changed files with 174 additions and 57 deletions
+15 -2
View File
@@ -22,7 +22,10 @@ class TenderCard extends StatelessWidget {
final VoidCallback? onClose;
final bool isLiked;
final bool isDisliked;
final VoidCallback? onReject;
final VoidCallback? onSubmit;
final bool rejected;
final bool submitted;
const TenderCard({
required this.date,
required this.deadline,
@@ -38,6 +41,10 @@ class TenderCard extends StatelessWidget {
this.onClose,
this.isLiked = false,
this.isDisliked = false,
this.onReject,
this.onSubmit,
this.rejected = false,
this.submitted = false,
super.key,
});
@@ -46,7 +53,9 @@ class TenderCard extends StatelessWidget {
return Column(
children: [
Container(
width: 364.0.w(),
// width: 364.0.w(),
width: double.infinity,
margin: EdgeInsets.symmetric(horizontal: 16.0.w()),
height: 587.0.h(),
decoration: BoxDecoration(
color: AppColors.grey0,
@@ -255,6 +264,10 @@ class TenderCard extends StatelessWidget {
onDislike: onDislike,
onLike: onLike,
onClose: onClose,
onReject: onReject,
onSubmit: onSubmit,
rejected: rejected,
submitted: submitted,
),
],
);