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