Skip to content

fluttervn/tabbar_demo

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
ios
 
 
lib
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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

About

A demo for the bottom TabBar of Flutter application

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published