wheel_spinner
0.7.3, released 3 years ago by casraf.dev
A Flutter widget for updating a numeric value using a pitch bender-like wheel spinner.
WASM-ready
What it does
Provides a WheelSpinner widget that lets users update a double value by dragging or flinging with a finger. Supports light and dark themes via WheelSpinnerTheme and allows custom child builders.
AI-written summary of version 0.7.3, based on the package's README and metadata. Report an inaccuracy
Use it when
- You need a pitch bender or knob-style spinner for updating a numeric value
- You want custom slider-like controls with drag and fling physics
Skip it when
- You need a standard linear slider or native form input field
- You require complex chart visualizations
Strengths
- Provides unique wheel/knob physics for number selection
- Theme customization via direct override or inherited widget
Weaknesses
- Limited to a single double value update
- Niche UI pattern that may not fit standard design systems
Setup
- Kind
- Flutter widgets
- Effort
- Low
- Code generation
- No
- Direct dependencies
- 0
WheelSpinner(
value: value,
min: 0.0,
max: 100.0,
onSlideUpdate: (val) => onChange(value),
childBuilder: (val) => Text(val.toString()),
theme: WheelSpinnerTheme.light(),
)Alternatives
Packages that do the same job and could replace wheel_spinner.
- prompt_dialog
A JavaScript-like prompt dialog widget for Flutter applications.
50Compare - extended_wrap
An extended Flutter Wrap widget that supports limiting row numbers and overflow widgets.
47Compare - confirm_dialog
An easy-to-use confirm dialog widget for Flutter with a JS-like syntax.
45Compare