Open Henzelix opened 3 years ago
Would be nice if swiping on the web was supported.
Regardless, you could add the arrows yourself;
Put your gallery inside a stack, put 2 positioned widgets with your arrows inside the stack
and add a call to pageController.animateToPage(pageController.page + 1) // or - 1
to an enclosing gesture detector.
@clragon thanks, will try that out
photo_view: 0.14.0 I want to swipe with mouse drag on Flutter Web. How can I solve this by manipulating mouse events? Is adding arrow buttons the only solution?
Any update ?
As in the title. I have 4 images in PhotoViewGallery and on Android app it works great, but on Flutter Web i can't swipe images so I can only see the first one. Is it possible to add arrows on both sides, so you can change images easily even on computer?
I'm on the newest version of Flutter and PhotoView.