Open insinfo opened 2 years ago
I believe that it would be enough for you to change your code involving the ListView with the ScrollConfiguration to solve the problem if you are using LisView.
ScrollConfiguration(
behavior: ScrollConfiguration.of(context).copyWith(
dragDevices: {
PointerDeviceKind.touch,
PointerDeviceKind.mouse,
},
),
child: ListView.builder( ....
Place your carousal slider into below child then it's working.
ScrollConfiguration( behavior: ScrollConfiguration.of(context).copyWith( dragDevices: { PointerDeviceKind.touch, PointerDeviceKind.mouse, }, ), child : // Your slider Widget
)
This fixed the problem for me, on web: https://stackoverflow.com/a/69202112/8568263
I can't change slides using mouse click and drag on windows, ideally it had the same behavior as android or buttons were displayed in the corners to be able to change slides
https://www.youtube.com/watch?v=DIgNatqp2m8
https://user-images.githubusercontent.com/12227024/148993000-62c4816a-9061-494b-aacf-34f23d509987.mp4
https://user-images.githubusercontent.com/12227024/148991977-8e59e076-5990-4447-abde-a69d2585f98e.mp4