-
Notifications
You must be signed in to change notification settings - Fork 3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
(WIP) Predictive back OpenContainer transition #6321
base: main
Are you sure you want to change the base?
Conversation
Hello, I don't know if it's appropriate to leave a non-work-related comment here but I just wanna say that I'm very excited and looking forward to you guys work on integrating Predictive Back into flutter, especially this WIP. I just started flutter for some weeks and got hooked with flutter animation and recently, predictive gesture animation. Then upon finding out about the fact that it will be put into Open Container I was so amazed and impressed. That's a lotta work😆 May I ask you this question: Can you estimate when the stable channel will get this feature? Or can I at least try it somehow on some flutter beta channel? Not sure if I can have multiple version of flutter on my windows because I need to keep the stable version (as of the project I'm doing). Anyways have a great day, thanks for reading my comment! I got to go, still got a bunch of flutter to learn more!!! |
@bebaoboy Thanks so much for the encouragement! Credit to @maRci002 for taking the initiative on the built-in route transitions. Those built-in transitions (flutter/flutter#141373 and flutter/engine#49093) have already been cut into the upcoming stable release, but for these open container transitions I'm not sure exactly how the release process works. If you are able to install the latest version of I'm hoping to get back to finishing this PR soon. |
Hello, that's amazing to here! Thank you for your contributing to Flutter and making it better everyday. |
Unfortunately I'm not sure about the release processes or timeline. I think that there are no release channels for these individual packages, so the next release after this PR is merged will have it. |
Hello, I want to ask whether this feature has been implemented in the latest version 3.22.0 of flutter? thank you! |
Here's the official Medium post for Flutter 3.22.0. I personally haven't updated yet, but based on the gifs, it looks like they now have both inter- and intra-app support. Hope that helps! |
@comESK thank you for the link. I already read about the inter and intra app support for predictive back gesture with flutter (I have seen these gifs in a pull request where they were being developed so I know about that), but I don't know whether this particular feature (predictive back gesture for open container) is released yet. That's what I was asking in this PR😄again thank you for your replying. |
From triage: @justinmc Is this PR still something you are planning on coming back to? |
@bebaoboy This feature is not yet released because this PR is not merged yet. |
@stuartmorgan Yes I plan to finish this. |
(triage) Spoke to @justinmc last week and he indicated that this one is still on his radar. |
(PR Triage): Hey @justinmc, would you like to keep this change open until you come back to it? |
Flutter now partially supports predictive back on Android, meaning that a back gesture is able to "peek" behind the current route or the app itself to see where the back gesture will go. This should work for open container transitions too, where a back gesture starts to peek, and releasing transitions the route into its "closed" anchor in the previous route. This PR attempts to add support to this to the existing open container transition in this package.
Part of flutter/flutter#131961
Depends on:
flutter/flutter#141373
flutter/engine#49093