flexi_cart 0.1.0
flexi_cart: ^0.1.0 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 [...]
0.1.0 #
- Introduced
CartQuantityInputFormatterfor quantity fields, allowing customizable decimal precision. - Introduced
CartPriceInputFormatterfor price fields, allowing customizable decimal precision. - Added
CartInputNumberFormatteras a base class to normalize Arabic digits, limit decimal places, and constrain values. - Deprecated
QuantityInputFormatter, advising to useCartQuantityInputFormatterinstead. - Improved documentation.
- Added various example on cart input.
- Adds
description,metadata,tax, anddiscountfields in theICartItemmodel - Added
CartChangeNotifierDisposeMixinto handle the disposal ofChangeNotifier. - Add flexi-cart formatter and mixin tests.
- Add flexi-cart input test.
0.0.9 #
- Added
ChangeNotifierDisposeMixinto prevent callingnotifyListeners()after dispose. - Updated test cases to include
shouldNotifyListenersoption and assertDateTimetype.
0.0.8 #
- Removed
removeNullQuantityoption & fixed cart logic.
0.0.7 #
- Added
removeNullQuantityoption.
0.0.5 #
- Allowed
,inCartInputwidget. - Added group methods in cart.
0.0.4 #
- Added
setNote()&setDeliveredAt()functions instead of setters, withshouldNotifyListenerstoggle.
0.0.3 #
- Added
Ordableproperty.
0.0.2 #
- Updated README file.
0.0.1 #
- Initial version.