Input Quantity

pub package package publisher

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

Libraries

input_quantity