Skip to content

Latest commit

 

History

History
21 lines (14 loc) · 1.05 KB

README.md

File metadata and controls

21 lines (14 loc) · 1.05 KB

tabbar_demo

Build Status

A demo for the bottom TabBar of Flutter application.

Getting Started

demo

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

Authors