Bottom navigation bar is reloading all the widgets each time I press a navigation item

Posted by Rohit Kumar | Updated on

Bottom navigation bar is reloading all the widgets each time I press a navigation item. The solution to keep the pages alive when switching the tabs is wrapping your Pages in a IndexedStack.


If you like this question & answer and want to contribute, then write your question & answer and email to freewebmentor[@]gmail.com. Your question and answer will appear on FreeWebMentor.com and help other developers.

Related Questions & Answers