Open sethladd opened 8 years ago
This needs to happen!
I believe we have 3D touch support available now?
Making a note here that "contextual menus" were announced at WWDC and might affect this. They seem similar to peek and pop but don't rely on 3D touch.
I did some research and they seem to be the same thing, with the only difference being that context menus can be opened with a long press. So both of these issues will be resolved by one PR/feature.
@aliyigitbireroglu Looks good! Heads up that there will be a first party ContextMenu coming with https://github.com/flutter/flutter/issues/34728. It seems different enough from your Peek & Pop implementation though.
@justinmc Thanks! I hadn't seen the Context Menus yet but it looks cool, thank you for sharing. It seems like the most important difference is replacing the Force Touch & Gradual Blur Animation with a Long Press & Gradual Spring Animation.I believe it can be nicely integrated into my package- I will see about that as soon as finish some fine tuning.
@aliyigitbireroglu Any chance you could submit a PR to incorporate the peek and pop transitions?
@DanielEdrisian
I would be glad to but the package isn't working well at the moment with the newer versions of Flutter and I haven't yet had the time to make the necessary changes. As soon as I do those, I can submit it.
Edit: Follow this issue for progress.
Once we have 3D touch support (https://github.com/flutter/flutter/issues/4838) we can then enable developers to build "peek/pop". See http://www.apple.com/iphone-6s/3d-touch/ for more.