extended_image icon indicating copy to clipboard operation
extended_image copied to clipboard

Drag trackpad gestures

Open moffatman opened this issue 2 years ago • 4 comments

Now we have trackpad gestures in stable, I copied the same changes from https://github.com/flutter/flutter/pull/89944

This will allow using trackpad to swipe between pages in the page view.

moffatman avatar Sep 09 '22 21:09 moffatman

any public api need to add? these changes are only internal changes?

zmtzawqlp avatar Sep 13 '22 01:09 zmtzawqlp

Only internal change. But if you think we should allow users to enable or disable trackpad use, I can update it with supportedDevices parameter on ExtendedImageGesturePageViewState

moffatman avatar Sep 13 '22 02:09 moffatman

ExtendedImageGesturePageVie

ok, thanks, so the user can use trackpad to scroll ExtendedImageGesturePageView, right?

zmtzawqlp avatar Sep 13 '22 03:09 zmtzawqlp

Yeah, after this change, you will be able to use Mac, Linux, Windows, and iPad trackpad to scroll between pages. I just had to copy the change here, since you have a customized gesture recognizer. I need to apply the same changes as in flutter/flutter

moffatman avatar Sep 13 '22 05:09 moffatman

thanks for your contribution, i have merge the code from 3.3.8 and refactor them to be more convenience to merge at next time.

zmtzawqlp avatar Nov 10 '22 08:11 zmtzawqlp