You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've tried blocking the scrolling feature while I do a pinch and zoom on the widget. I didn't find a way to achieve this.
When you try to pinch and zoom, the widget scroll controller takes control and it is a hit or miss.
I also tried setting the physics to NeverScroll and a boolean, but no luck. It seems this widget cannot allow for pinch and zoom on its images.
To give you an idea of what I'm trying to achieve, something similar to what Instagram photos achieve. You may have a post with multiple images (a flutter_carousel_widget) and at the same time you have a scroll up and down the feed and a pinch and zoom on the images.
This widget does not allow for that, the moment you try to pinch and zoom it will either ignore it or move the page to the beginning.
If you have multiple images it will always go back to page 1 while zooming or when releasing and it loses track of the page index, even if you have it as a global variable.
Version
latest
What devices are you seeing the problem on?
Android
OS
Android any
Relevant log output
No response
Code of Conduct
I agree to follow this project's Code of Conduct
The text was updated successfully, but these errors were encountered:
Thank you for raising the issue. I would greatly appreciate your feedback as it helps us improve our project and address the potential issues. We value your input and will work towards solving the problem you pointed out. Your contribution to our project is invaluable, and we are grateful for your help in improving it. Thank you for taking the time to bring this issue to our attention.
Contact Details
No response
What happened?
I've tried blocking the scrolling feature while I do a pinch and zoom on the widget. I didn't find a way to achieve this.
When you try to pinch and zoom, the widget scroll controller takes control and it is a hit or miss.
I also tried setting the physics to NeverScroll and a boolean, but no luck. It seems this widget cannot allow for pinch and zoom on its images.
To give you an idea of what I'm trying to achieve, something similar to what Instagram photos achieve. You may have a post with multiple images (a flutter_carousel_widget) and at the same time you have a scroll up and down the feed and a pinch and zoom on the images.
This widget does not allow for that, the moment you try to pinch and zoom it will either ignore it or move the page to the beginning.
I'm using the flutter package: https://pub.dev/packages/pinch_to_zoom_scrollable
If you have multiple images it will always go back to page 1 while zooming or when releasing and it loses track of the page index, even if you have it as a global variable.
Version
latest
What devices are you seeing the problem on?
Android
OS
Android any
Relevant log output
No response
Code of Conduct
The text was updated successfully, but these errors were encountered: