tender screen changes
This commit is contained in:
@@ -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,
|
||||
),
|
||||
],
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user