Enable mouse scrollBehavior on carousel sample
jonasjuni opened this issue · comments
Jonas Jr commented
Steps to reproduce
Open carousel on web:
https://flutter.github.io/samples/web/animations/#/misc/carousel
You can't drag to change images.
would be a good ideia to add mouse as a drag device on PageView in this example?
scrollBehavior: ScrollConfiguration.of(context).copyWith(
dragDevices: {
PointerDeviceKind.touch,
PointerDeviceKind.mouse,
},
),
Jonas Jr commented
Here is my suggestion may I create a PR?
jonasjuni/samples/blob/patch-1/animations/lib/src/misc/carousel.dart
Brett Morgan commented
Please create a PR and sign the CLA. Thanks!