flutter-template icon indicating copy to clipboard operation
flutter-template copied to clipboard

_authNavState updated, but build() did not trigger.

Open tenSunFree opened this issue 4 years ago • 1 comments

When you click the return button on the upper left, it will trigger onPopPage, and then update _authNavState, but build() is not triggered. 001

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

tenSunFree avatar Aug 03 '21 15:08 tenSunFree

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.

dimitar-zabaznoski avatar Aug 09 '21 23:08 dimitar-zabaznoski