dart_cart

Creator: coderz1093

Last updated:

0 purchases

dart_cart Image
dart_cart Images

Languages

Categories

Add to Cart

Description:

dart cart

dart_cart 🛒 #
Getting Started #

first create an instance of dart cart package.

var cart = DartCart();
copied to clipboard


After getting the instance, we are able to get the built-in methods


Add Items into cart
productId,unitPrice require

cart.addToCart(productId,unitPrice);
copied to clipboard


Remove item one by one from cart âž–
cart.decrementItemFromCart(index);
copied to clipboard


Add item one by one to cart âž•
cart.incrementItemToCart(index);
copied to clipboard


Get the total amount
cart.getTotalAmount()
copied to clipboard


Get the total quantity
cart.getCartItemCount()
copied to clipboard


Get Specific Item from Cart
cart.getSpecificItemFromCart(cartId)
copied to clipboard


Copyright || The original
https://pub.dev/packages/flutter_cart
https://github.com/osamaasifoak/flutter_cart

copied to clipboard

License

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Files In This Product:

Customer Reviews

There are no reviews.