Package selection guidance compiled from public package information, community data, and project usage.
Wheel Slider is a customizable Flutter widget that provides a wheel-like interface for scrolling through values, ideal for selecting numbers or options in a visually engaging way. It supports smooth rotation and extensive styling options, making it suitable for forms, settings, or interactive UIs. Available across all major platforms, it integrates seamlessly into Flutter apps with minimal setup. The package emphasizes user experience with responsive gestures and animated transitions.
Use cases
Form inputs with numeric selection
Custom number pickers
Interactive app settings
Gamified UI elements
Time or date selectors
Visual data input
Key features
Highly customizable appearance
Smooth wheel rotation animation
Cross-platform support
Gesture-based scrolling
Extensive styling options
Responsive touch interaction
Suitable for
Developers seeking unique input widgets
Apps requiring visual data entry
Design-focused Flutter projects
Interactive educational tools
Games with value selection
Considerations
May require performance tuning on low-end devices
Limited documentation beyond basic usage
Customization may increase code complexity
Not ideal for large datasets
Requires careful handling of scroll sensitivity
Best suited for small to medium value ranges
Original README
Original README snapshot from the linked source repository. Visit the repository for the latest content.
Wheel Slider
A versatile and highly customizable slider widget for Flutter, with a wheel-like scrolling appearance.
Built on top of wheel_chooser for an enhanced experience.
✨ Features
🔢 Number Display: Show numbers instead of simple lines.
↔↕ Scroll Orientation: Horizontal and vertical scrolling options.
📳 Haptic Feedback: Vibrates during scroll for a tactile experience.
🔧 Custom Widgets: Fully customizable items and pointers.
🖼️ Background Support: Add a widget as the slider's background.
🎨 Styling Options: Easily customize line and pointer colors.
🚀 Getting Started
Installation
Add the following to your pubspec.yaml under dependencies:
dependencies:wheel_slider:
Import
import'package:wheel_slider/wheel_slider.dart';
Android Permissions
Add the vibration permission to your AndroidManifest.xml file:
WheelSlider(
interval: 0.5, // this field is used to show decimal/double values
totalCount: _totalCount,
initValue: _initValue,
onValueChanged: (val) {
setState(() {
_currentValue = val;
});
},
hapticFeedbackType: HapticFeedbackType.vibrate,
),