Skip to content
pubscout

number_selector

1.0.7, released 4 years ago by an unverified publisher

Widget for selecting an integer via buttons or a textfield

WASM-ready
$ flutter pub add number_selector
Source repository

What it does

Provides a customizable UI for choosing an integer value. It supports increment/decrement buttons, skip to first/last, ESC cancel, Enter update, and negative numbers.

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

Use it when

  • Simple numeric input in forms
  • Custom numeric picker in dialogs
  • Replacing a plain TextField for integer entry

Skip it when

  • Complex validation logic that requires custom validators
  • Applications needing non-integer numeric input

Strengths

  • Highly customizable UI
  • Debounced input and non-nullable update delay
  • Supports negative and positive integers

Weaknesses

  • No built-in validation or formatting beyond integers
  • Limited to integer values only

Setup

Kind
Flutter widgets
Effort
Low
Code generation
No
Direct dependencies
0
```dart
NumberSelector(
  current: 47,
  min: 1,
  max: 50,
  onUpdate: (number) {
    // Your magic here
  },
);
```

Alternatives

Packages that do the same job and could replace number_selector.