Skip to content
pubscout

flutter_spinbox

0.13.1, released 4 years ago by ubuntufluttercommunity.org

Numeric input widget with a text field and spin buttons for quick adjustments

WASM-ready
$ flutter pub add flutter_spinbox
Source repository

What it does

Provides Material and Cupertino numeric input widgets combining an input field with quick-adjustment spin buttons. Supports large value ranges, high precision, and custom behaviors via callbacks like onChanged and onSubmitted.

AI-written summary of version 0.13.1, based on the package's README and metadata. Report an inaccuracy

Use it when

  • You need numeric inputs with both direct text entry and increment/decrement buttons
  • Sliders are too inaccurate and plain text fields are inconvenient for quick value changes
  • You need both Material and Cupertino style numeric spin boxes

Skip it when

  • You only need a standard text form field without increment buttons
  • You are looking for non-numeric pickers or date pickers

Strengths

  • Supports both Material and Cupertino designs out of the box
  • Provides range limits, step values, and formatting options
  • Includes helpful callbacks for validation and submission

Weaknesses

  • Limited to numeric inputs only

Setup

Kind
Flutter widgets
Effort
Low
Code generation
No
Direct dependencies
2
SpinBox(
  min: 1,
  max: 100,
  value: 50,
  onChanged: (value) => print(value),
)

Alternatives

Packages that do the same job and could replace flutter_spinbox.

Works with

Packages commonly used together with flutter_spinbox: ones it builds on, ones built on it, and its own family.