FLUTTER ECOSYSTEM

input_quantity

A widget for input quantity. Built with TextFormField. Type manually or increase and decrease value with the btn

input_quantity cover
Latest version
2.6.0
30-day downloads
4.4K
Likes
76
Pub points
160

Package Overview

Selection guidance generated from public package information. For reference only.

Overview

A Flutter widget for inputting quantities, combining a text field with increment and decrement buttons. Users can type values manually or adjust them using the provided buttons, ensuring intuitive and accessible numeric input. Built on TextFormField, it supports standard text input behaviors while enhancing usability for quantity selection. Ideal for forms requiring numeric inputs like shopping carts or settings.

Use cases
  • E-commerce product quantity selection
  • Form inputs requiring numeric values
  • Inventory management interfaces
  • User preference settings
  • Order entry systems
Key features
  • Built-in increment/decrement buttons
  • Manual text input support
  • Customizable step size
  • Responsive design across platforms
  • Integration with TextFormField
Suitable for
  • Simple quantity inputs
  • Mobile and web applications
  • Forms with numeric fields
  • Developers seeking lightweight spin box
  • Apps needing minimal setup
Considerations
  • Limited to basic numeric input
  • No built-in validation beyond text input
  • Requires manual handling of min/max constraints
  • Not suitable for complex number formatting
  • Depends on external styling for appearance
Supported platformsAndroidiOSWebmacOSWindowsLinux

Install package

flutter pub add input_quantity

Categories

Source repository

Related projects

No data available yet.