flexi_cart 0.1.2
flexi_cart: ^0.1.2 copied to clipboard
A versatile and reactive cart solution for Flutter apps, supporting grouping, notes, delivery, quantity control, and custom logic.
0.1.2 #
- Update Links update package metadata
0.1.1 #
- License Update: Changed the LICENSE file to the MIT License and updated the copyright to abed-supy-io.
- Pubspec Update: Updated the package description, version to 0.1.1, repository, issue tracker, homepage and add
topicsto pubspec.yaml. - Cart Input Formatter: Modified the
formatEditUpdatemethod incart_input_formatter.dartto handle empty strings and special characters like ',' and '.' more gracefully. - Cart Test: added
decrementtest case inflexi_cart_test.dart. - Cart Input Widget: Added a condition to
_onTextChangedincart_input_widget.dartto handle zero quantity. - Cart Input Widget: remove unused
_quantityNotifier.removeListenerindispose. - Cart Mixins: remove unused
disposeinCartChangeNotifierDisposeMixin - FlexiCartTest: added
resetItemsandresettest case inflexi_cart_test.dart. - example: updated example app and add more test cases.
- FlexiCart: exported
mixins.dartinflexi_cart.dart. - FlexiCartInputTest: fix type in
CartInput. - Added
CONTRIBUTING.mdwith guidelines for contributing.
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.