horizontal_picker
1.2.0, released 5 years ago by leventkantaroglu.com
A horizontal scrolling picker widget to select numerical values.
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.
- date_picker_timeline
Flutter date picker library that renders a calendar as a horizontal timeline.
78Compare - date_field
A form field widget for picking dates and times with adaptive Material and Cupertino dialogs
75Compare - board_datetime_picker
Picker to select date and time for Flutter. It is both a calendar and a picker, offering a variety of options as a package.
87Compare - duration_picker
A time picker widget for selecting hours and minutes as durations.
86Compare