searchbarstatus

This commit is contained in:
2025-02-25 19:06:01 +05:30
parent 71d0991366
commit 299a96c2bf
10 changed files with 322 additions and 97 deletions

View File

@@ -127,13 +127,14 @@ class _BestDealScreenState extends State<BestDealScreen> {
),
floatingActionButton: floatingAction(),
body: Padding(
padding: const EdgeInsets.only(bottom: 100),
padding: const EdgeInsets.only(bottom: 10),
child: itemBestdeal(),
));
}
Widget floatingAction() {
return Consumer<ProductProvider>(builder: (context, provider, child) {
return Consumer<ProductProvider>(builder: (context, provider, child)
{
if (provider.countList.isEmpty) {
return Center();
} else {
@@ -309,8 +310,8 @@ class _BestDealScreenState extends State<BestDealScreen> {
MyRoutes.PRODUCTDETAILS,
extra: {
"id": bestdealproduct.id,
"quantity": 0,
"price": '0',
"quantity": 1,
"price": bestdealproduct.discountPrice,
},
);
},