Replace Navigator with AnimatedNavigator
See original GitHub issue@radderz Do you think, that we need new functions for this? Wouldn’t it be not enough, if we set in all function the duration value to zero? As you can see, AnimatedNavigator checks always for duration == 0 and if true, it does the same as the old Navigator. So where is the advantage to have new functions?
Issue Analytics
- State:
- Created 3 years ago
- Comments:38 (38 by maintainers)
Top Results From Across the Web
react native transition animation for navigator.replace()
I'm working on a navigation that there's no more than one route in the stack. So I'm using replace() instead of the pop()...
Read more >Stack Navigator
Stack Navigator provides a way for your app to transition between screens where each new screen is placed on top of a stack....
Read more >Navigation prop reference
navigate - go to another screen, figures out the action it needs to take to do it; reset - wipe the navigator state...
Read more >Use the on-screen navigator—ArcGIS Pro | Documentation
Change the display view of the navigator to Heading mode (pan and north indicator only) or Full Control mode. Move up/Move down. Specific...
Read more >Navigator class - widgets library - Dart API
A change in Navigator.pages will trigger an update to the stack of Routes. The Navigator will update its routes to match the new...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

AnimatedNavigator was made to replace the existing Navigator. It has the same functions plus a FlyTo function. @radderz added a FlingTo for the fling function. All other functions are only usefull, if Viewport gets more properties, which could be manipulated by the Navigator.
The only thing I could imagine is to add arguments for the easing function of an animation.
Radderz changes to INavigator made it ready for animations.
Yes
Yes, that is what I had in mind. With the WindowExtent still a readonly property.