input_quantity 0.0.1 input_quantity: ^0.0.1 copied to clipboard
A widget for input quntity. Quantity input buult with textfield, type manually or increase/decrease by button
Input Quantity #
A Flutter widget for quantity input. Increase or decrease the input value by pressing the button. Built with text field, InputQty also supports to type input quantity manually. The input value will automatically return to the preset maximum/minimum value. The cursor will automatically move to the right side after typing.
Features #
- Simple quantity input
- Function to move cursor automatically
- Return to max value
Usage #
example:
import 'package:input_quantity/input_quantity.dart';
...
InputQty(
maxVal: 100,
initVal: 0,
onQtyChanged: (val) {
print(val);
},
),
Additional information #
-
To contrib to this project, you can open a PR or an issue.
-
Want to thank me? you can buy me a coffee