Skip to content
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

Reimplement CupertinoModalSheetRoute and Page with ModalRoute.delegatedTransition #293

Open
fujidaiti opened this issue Dec 18, 2024 · 0 comments
Assignees
Labels
improvement Need more improvements P2

Comments

@fujidaiti
Copy link
Owner

fujidaiti commented Dec 18, 2024

Finally, the Flutter SDK has introduced an official way to implement the iOS-style stacked modal route transition in version 3.27. Leveraging this feature can simplify the current API of CupertinoModalSheetRoute.

ModalRoutes are now more flexible when the previous and new routes have different page transitions. When a new route enters the screen, sometimes they need the previous existing route to play a certain transition to sync up with the entrance transition of the new route. Now ModalRoutes can provide exit transition builders to each other so the enter and exit transitions always sync up. This allows pages to have multiple route transition options on one page using Flutter’s Navigator and Router.

https://medium.com/flutter/whats-new-in-flutter-3-27-28341129570c#:~:text=Mixing%20Route%20Transitions

@fujidaiti fujidaiti self-assigned this Dec 18, 2024
@fujidaiti fujidaiti added P2 improvement Need more improvements labels Dec 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
improvement Need more improvements P2
Projects
None yet
Development

No branches or pull requests

1 participant