A Flutter plugin for letting the user edit the bottom tabs like the Cupertino iTunes App.
Online demo here!
- Set
persistIndex
totrue
for saving the index of the current tab to disk, every time the app launches it will open the last tab opened - Tags must be set for each item and must be unique
- There are 2 Modes
DynamicTabScaffold.adaptive
andDynamicTabScaffold
. The latter just show material - When using
adaptive
mode the iOS Platform will be wrapped in a CupertinoTabBar and CupertinoTabView, this means that the navigation can be preserved per tab and that the nav bar will be shown still on push. On Android it will push the whole screen - This widget allows you to use a stateless widget for navigation
- This supports Dark Mode
- If there are more than 5 Tabs there will be a 5th Tab Created Call "More" and it will show a list of the remaining tabs
- On the edit screen the user can reorder that tabs to the nav bar as they wish, this will also be saved to disk
- If Using
.adaptive
Cupertino Widgets are Required and YOu will have to provide the routes for the Navigator. - You can set the max number of tabs