dart_cart 2.2.1 dart_cart: ^2.2.1 copied to clipboard
This package for the cart management. This package helps you to perform basic cart operation like (Add to cart, Remove from cart, Get total count) etc.
dart_cart 🛒 #
Getting Started #
- first create an instance of dart cart package.
var cart = DartCart();
After getting the instance, we are able to get the built-in methods
Add Items into cart
productId,unitPrice require cart.addToCart(productId,unitPrice);
Remove item one by one from cart ➖
Add item one by one to cart ➕
Get the total amount
Get the total quantity
Get Specific Item from Cart
Copyright || The original