Skip to content
pubscout

horizontal_picker

1.2.0, released 5 years ago by leventkantaroglu.com

A horizontal scrolling picker widget to select numerical values.

WASM-ready
$ flutter pub add horizontal_picker
Source repository

What it does

Provides a horizontal scrollable picker widget allowing users to select a value within a specified minimum and maximum range, featuring customizable divisions, suffixes, and colors.

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

Use it when

  • You need a horizontal selector for numerical ranges like measurements or ages.
  • You want a custom picker widget integrated directly into a Flutter form or UI.

Skip it when

  • You need date or calendar picking functionality instead of generic numerical ranges.
  • You require complex non-numeric selections or heavily customized multi-wheel pickers.

Strengths

  • Simple and straightforward API for numeric range picking.
  • Supports custom colors, text styles, and suffixes like units of measurement.

Weaknesses

  • Limited to selecting numerical values.
  • Documentation and configuration options are minimal.

Setup

Kind
Flutter widgets
Effort
Low
Code generation
No
Direct dependencies
0

not documented

HorizontalPicker(
  minValue: -10,
  maxValue: 50,
  divisions: 600,
  suffix: " cm",
  showCursor: false,
  backgroundColor: Colors.grey.shade900,
  activeItemTextColor: Colors.white,
  passiveItemsTextColor: Colors.amber,
  onChanged: (value) {},
),

Alternatives

Packages that do the same job and could replace horizontal_picker.