serenader2014 / flutter_carousel_slider

A flutter carousel widget, support infinite scroll, and custom child widget.
https://pub.dev/packages/carousel_slider
MIT License
1.55k stars 517 forks source link

Drag devices #390

Open davidmartos96 opened 1 year ago

davidmartos96 commented 1 year ago

Hello! Is there any particular reason why https://github.com/serenader2014/flutter_carousel_slider/blob/36d3f399cb98634d5f5cd30eaff56c34b04c5f40/lib/carousel_slider.dart#L308 doesn't use all the enum values? So using PointerDeviceKind.values.toSet() instead of the current values. I'm asking because currently the scroll doesn't seem to be working with the Apple Pencil, which is a PointerDeviceKind.stylus. Unless there is a specific reason, the library could benefit from using all the enum values directly.