addtocart

This commit is contained in:
bestonemitRam
2025-01-31 00:48:19 +05:30
parent 48fab4a1c0
commit 028155a1d7
11 changed files with 1021 additions and 675 deletions

View File

@@ -109,16 +109,20 @@ class AddtocartProvider extends ChangeNotifier {
return result.fold(
(error) {
print("dsjfgkjhkdfgdkjfhg");
isLoaddcartItem = false;
notifyListeners();
},
(response) {
print("dsjfgkjhkdjsfjkdhfsgfgdkjfhg");
allitem = response!;
isLoaddcartItem = false;
notifyListeners();
},
);
} catch (e) {
} catch (e)
{
print("sfddsfdfff");
isLoaddcartItem = false;
notifyListeners();
}