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 didn't find a grid picture viewer in the code base, but it would be nice to have a general composable Pannable and Zoomable widget like we have the Dismissable widget.
I've got a demo for the gallery in the works that shows how to do this sort of thing using a GestureDetector and Transform widget. My longer term plan is to turn that into its own reusable widget. I'll post back here with updates, and I'll assign myself when I am actually working on the widget.
Gallery demo was merged. After the next release you'll be able to find it under Studies => 2D Tranformations. I'll try to pull that into its own widget soon.
This is now possible with the InteractiveViewer widget. Double tap to zoom is not built-in right now. I might add it in the future, but it's also possible to implement on your own with a GestureDetector and transformationController.
This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of flutter doctor -v and a minimal reproduction of the issue.
Activity
xster commentedon Oct 23, 2018
I didn't find a grid picture viewer in the code base, but it would be nice to have a general composable Pannable and Zoomable widget like we have the Dismissable widget.
[-]grid picture viewer should support double-tap-to-zoom on iOS[/-][+]Add Pannable/Zoomable widgets[/+]zoechi commentedon Jan 9, 2019
Similar to #12878
justinmc commentedon Jan 28, 2019
I've got a demo for the gallery in the works that shows how to do this sort of thing using a GestureDetector and Transform widget. My longer term plan is to turn that into its own reusable widget. I'll post back here with updates, and I'll assign myself when I am actually working on the widget.
justinmc commentedon Apr 4, 2019
Gallery demo was merged. After the next release you'll be able to find it under Studies => 2D Tranformations. I'll try to pull that into its own widget soon.
justinmc commentedon Jun 3, 2020
This is now possible with the
InteractiveViewerwidget. Double tap to zoom is not built-in right now. I might add it in the future, but it's also possible to implement on your own with a GestureDetector andtransformationController.github-actions commentedon Aug 17, 2021
This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of
flutter doctor -vand a minimal reproduction of the issue.