qtybutton
Usage
qtybutton mean quantity button,just pass the default quantity,and increase or decrease then get the count value,make it easy,you can customise the ui also. This Package use for increase and decrease your items quantity ,Its support both Android and iOS,you can fastly change the quantity.(long press)
Example
Package
Add this package in your Pubspec.yaml
dependencies:
flutter:
sdk: flutter
//Add this line
qtybutton: ^0.0.3
//import this
import 'package:qtybutton/qtybutton.dart';
child: Material(
child: QtyButton(
qtytextstyle: TextStyle(fontSize: 18,fontWeight: FontWeight.bold),
quantity: 1,
buttonsize: 50,
maxquanity: 100,
alignment: Alignment.center,
buttonradius: 80,
fastincrease: true,
bgcolor: Colors.red,
iconcolor: Colors.white,
getqty: (int qty) => print("qty $qty")));
