qtybutton 0.0.3 copy "qtybutton: ^0.0.3" to clipboard
qtybutton: ^0.0.3 copied to clipboard

This Package use for Increase Decrease the quantity,Its support both Android and iOS,you can easily use.

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")));

Exmaple Project

License #

MIT

1
likes
20
pub points
0%
popularity

Publisher

unverified uploader

This Package use for Increase Decrease the quantity,Its support both Android and iOS,you can easily use.

Repository (GitHub)
View/report issues

License

MIT (LICENSE)

Dependencies

flutter

More

Packages that depend on qtybutton