flutter-template
flutter-template copied to clipboard
_authNavState updated, but build() did not trigger.
When you click the return button on the upper left, it will trigger onPopPage, and then update _authNavState, but build() is not triggered.

If you want to really sync _authNavState, maybe you can try to change it like this.

I'm no expert here, but should the build method be called on pop page? Isn't that just removing one page from the stack? Can you give us a real-life scenario where you'd want this behavior? Thank you for the feedback.