Hello,
I'm trying to use this package for a web page. The carousel doesn't scroll on the desktop browser but it do it right in the cellphone browser.
I experienced this issue in other scrolls (like the page view) and the problem was that the scroll was not recognizing the mouse.
The solution in that case was to set the scroll behavior like follows (but I couldn't find a parameter to set it on this widget):
scrollBehavior: ScrollConfiguration.of(context).copyWith(
dragDevices: {
// Allows to swipe in web browsers
PointerDeviceKind.touch,
PointerDeviceKind.mouse
},
),
Hello, I'm trying to use this package for a web page. The carousel doesn't scroll on the desktop browser but it do it right in the cellphone browser. I experienced this issue in other scrolls (like the page view) and the problem was that the scroll was not recognizing the mouse. The solution in that case was to set the scroll behavior like follows (but I couldn't find a parameter to set it on this widget):
The code I have right now is the following: