Hello,
I have a navigation rail widget that I use to go to different tabs in my app and on a certain tab I have a page view. In the page view I have a carousal. When I go to a different tab the page view page stays the same( ex. If I go to page 2, go to another tab, than come back to the tab with the pageview, it stays on page 2, naturally) I want to it go back to its first view when it changes tabs. I thought changing the initial page in initstate would do it, but when I start the app all the widgets are built already...Any ideas how I can implement this?