wheel_slider
1.2.2, released 2 years ago by srinivasa.dev
A customizable slider widget with a wheel-like scrolling appearance.
What it does
Wheel Slider provides a versatile slider widget with a wheel-like scrolling appearance, supporting numbers, lines, or custom widgets. It features horizontal and vertical orientations, haptic feedback, and options for decimal intervals.
AI-written summary of version 1.2.2, based on the package's README and metadata. Report an inaccuracy
Use it when
- You need a wheel-style picker or slider for numbers or custom widgets.
- You want to offer haptic feedback during scrolling.
- You need horizontal or vertical wheel-based selection interfaces.
Skip it when
- You require a standard linear material range slider instead of a wheel picker.
- You do not want to add native vibration permissions for Android if haptic feedback is used.
Strengths
- Supports numbers, lines, and custom widgets.
- Includes haptic feedback options.
- Allows horizontal and vertical scroll orientations.
Weaknesses
- Requires platform-specific vibration permission configuration on Android.
- Limited to wheel-style slider use cases.
Setup
- Kind
- Flutter widgets
- Effort
- Low
- Code generation
- No
- Direct dependencies
- 1
Add the vibration permission to AndroidManifest.xml if using haptic feedback.
WheelSlider(
totalCount: 10,
initValue: 5,
onValueChanged: (val) {},
)Alternatives
Packages that do the same job and could replace wheel_slider.
- carousel_slider
Choose carousel_slider if you need a full carousel of views rather than a wheel-style numeric or item slider.
73Compare
Works with
Packages commonly used together with wheel_slider: ones it builds on, ones built on it, and its own family.