flexi_cart 0.0.5 flexi_cart: ^0.0.5 copied to clipboard
The Flexi Cart module provides a versatile and robust solution for handling shopping carts and item collections within Flutter applications. This module extends the capabilities of the ChangeNotifier [...]
Cart Management Module for Flutter #
The Flexi Cart module provides a versatile and robust solution for handling shopping carts and item collections within Flutter applications. This module extends the capabilities of the ChangeNotifier
class, enabling seamless integration with Flutter's reactive framework.
Table of Contents #
Features #
-
Flexible Item Structure: Utilize the
ICartItem
interface to define cart items with essential properties such as keys, groups, quantities, and prices. -
Grouping and Organization: Employ the
CartItemsGroup
class to create logical item groupings, enhancing clarity and organization. -
Effortless Total Calculations: Calculate total prices and quantities across all items in the cart effortlessly.
-
Customizable Behavior: Define conditions for removing items and tailor the addition of zero-quantity items to suit your application's needs.
Getting Started #
-
Installation: Install the module using your preferred package manager:
flutter pub add flexi_cart