A demo for the bottom TabBar of Flutter application.
In this demo, I made TabBar with 5 ways:
- TabContainerDefault: use DefaultTabController + reserve tab content (don't reload content many times).
- TabContainerBottom: use BottomNavigationBar to create bottom bar and load content as normal.
- TabContainerIndexedStack: use BottomNavigationBar + IndexedStack to reduce reload content many times.
- TabContainerLoad1Time: use BottomNavigationBar + IndexedStack + some tricks to reduce reload content many times.
- TabContainer: Customize bottom bar + IndexedStack + some tricks to reduce reload content many times.
Please refer to my post on Medium for more details