add_to_cart_button 0.0.5
add_to_cart_button: ^0.0.5 copied to clipboard
Fully customisable add to cart button with counter for your app.
A very simple add to cart button with a counter for your apps
Features #
- Initial Version
Getting started #
Add this to your app's pubspec.yaml
dependencies:
flutter:
sdk: flutter
add_to_cart_button: ^0.0.5
Simple usage in code
AddToCartCounterButton(
initNumber:0,
countItemCallback:(int){},
incrementCallback:(){},
decrementCallback:(){},
minNumber: 0,
maxNumber: 16,
backgroundColor Colors.black,
buttonIconColor Colors.white,
buttonFillColor Colors.black
);