clickable_list_wheel_view
0.2.0, released 4 years ago by cilestal.com
A wrapper for ListWheelScrollView that allows children to respond to tap events.
What it does
It wraps a Flutter ListWheelScrollView to enable onTap gesture events on individual list items. It provides callbacks for item taps, supports scrolling on click, and allows handling loop delegates.
AI-written summary of version 0.2.0, based on the package's README and metadata. Report an inaccuracy
Use it when
- You need a wheel-style scrolling list where individual items must be clickable.
- You want to handle tap events on specific items inside a ListWheelScrollView.
Skip it when
- You are not using a ListWheelScrollView.
- You require complex touch interactions other than standard tap events.
Strengths
- Simple and lightweight wrapper for existing ListWheelScrollView widgets.
- Supports item tap callbacks and automatic scrolling on click.
Weaknesses
- Limited in scope, only solves tap handling for ListWheelScrollView.
- Not documented with extensive custom gestures beyond standard taps.
Setup
- Kind
- Flutter widgets
- Effort
- Low
- Code generation
- No
- Direct dependencies
- 0
ClickableListWheelScrollView(
scrollController: _scrollController,
itemHeight: _itemHeight,
itemCount: _itemCount,
onItemTapCallback: (index) {
print("onItemTapCallback index: $index");
},
child: ListWheelScrollView.useDelegate(
controller: _scrollController,
itemExtent: _itemHeight,
physics: FixedExtentScrollPhysics(),
childDelegate: ListWheelChildBuilderDelegate(
builder: (context, index) => _child(index),
childCount: _itemCount,
),
),
)Alternatives
Packages that do the same job and could replace clickable_list_wheel_view.
- calendar_view
A Flutter package providing multiple calendar views and event management functionality.
83Compare - floating_overlay
Widget wrapper that lets a child float, drag and resize on screen.
47Compare - android_gesture_exclusion
Flutter plugin to exclude Android system gesture navigation in specific UI areas.
50Compare - scroll_snap_list
A Flutter wrapper for ListView that snaps to items at the end of user-scroll.
50Compare