IAmSarthakVerma / NestedTabBar-Flutter

An application to learn how to build a Nested Tab Bar in Flutter.
https://medium.com/@IAmSarthakVerma/build-a-nested-tabbar-in-flutter-7e0cae5cfc7
44 stars 14 forks source link

Save state of selected nested Tab #1

Closed nlelidis closed 4 years ago

nlelidis commented 5 years ago

Your Example is very simple and for beginners easy to understand. Congratulations! Can your short describe, how can the App save the actual Position in the nested Tab, so when the user selects the nested Tab the App activate the saved Tab?

IAmSarthakVerma commented 4 years ago

Hello @nlelidis, First of all, I am really sorry as I somehow missed this issue and saw this today. I want to let you know (in case you have not already figured out) that you can do so by using "initial index" property while initializing tab controller. Closing this issue for now. Reopen if you need to know more.