Skip to content

Add Pannable/Zoomable widgets #8272

Closed

Description

@eseidelGoogle

double-tap-to-zoom is an expected gesture on iOS:
https://developer.apple.com/ios/human-interface-guidelines/interaction/gestures/

The grid picture viewer does not support it. :/

Activity

  1. added
    customer: galleryRelating to flutter/gallery repository. Please transfer non-framework issues there.
    platform-iosiOS applications specifically
    on Feb 18, 2017
  2. modified the milestones: , on Feb 21, 2017
  3. modified the milestones: 3: Current Milestone, on Nov 21, 2017
  4. xster commented on Oct 23, 2018

    @xster
    Member

    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.

  5. added
    frameworkflutter/packages/flutter repository. See also f: labels.
    on Oct 23, 2018
  6. changed the title [-]grid picture viewer should support double-tap-to-zoom on iOS[/-] [+]Add Pannable/Zoomable widgets[/+] on Oct 23, 2018
  7. zoechi commented on Jan 9, 2019

    @zoechi
    Contributor

    Similar to #12878

  8. justinmc commented on Jan 28, 2019

    @justinmc
    Contributor

    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.

  9. justinmc commented on Apr 4, 2019

    @justinmc
    Contributor

    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.

  10. added
    P2Important issues not at the top of the work list
    on May 29, 2020
  11. removed this from the milestone on Jun 2, 2020
  12. removed this from the milestone on Jun 2, 2020
  13. justinmc commented on Jun 3, 2020

    @justinmc
    Contributor

    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.

  14. github-actions commented on Aug 17, 2021

    @github-actions

    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.

  15. locked as resolved and limited conversation to collaborators on Aug 17, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    P2Important issues not at the top of the work listc: new featureNothing broken; request for a new capabilitycustomer: galleryRelating to flutter/gallery repository. Please transfer non-framework issues there.f: gesturesflutter/packages/flutter/gestures repository.frameworkflutter/packages/flutter repository. See also f: labels.platform-iosiOS applications specifically

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions