Skip to content
pubscout

input_slider

0.3.1, released 4 years ago by an unverified publisher

A customizable Flutter widget that synchronizes a Slider and a TextField.

WASM-ready
$ flutter pub add input_slider
Source repository

What it does

Combines a TextField and a Slider into a single component, keeping their values synchronized so changes to one instantly update the other. It also supports grouping multiple sliders together inside an InputSliderForm with shared styling and alignment.

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

Use it when

  • You need precise numeric input alongside a visual slider control.
  • You want to group and align multiple sliders and text fields in a form.

Skip it when

  • You only need a standard standalone Slider or TextField without synchronization.

Strengths

  • Synchronizes Slider and TextField values automatically.
  • Supports grouping and aligning multiple inputs with InputSliderForm.
  • Supports vertical orientation for sliders.

Weaknesses

  • Limited to a combined slider and text input use case.

Setup

Kind
Flutter widgets
Effort
Low
Code generation
No
Direct dependencies
0
InputSlider(
  onChange: (value) => print("change: $value"),
  min: 0.0,
  max: 100.0,
  decimalPlaces: 0,
  value: 50.0,
  leading: Text("Percentage:"),
)

Alternatives

Packages that do the same job and could replace input_slider.