Skip to content
Flutter plugin - CubertoBottomBar
Branch: master
Clone or download
Type Name Latest commit message Commit time
Failed to load latest commit information.
android/app/src/main/java/io/flutter/plugins CHangelogs for 0.0.1 added Mar 27, 2019
example Readme changes Mar 27, 2019
lib Readme changes Mar 27, 2019
.gitignore first Commit Mar 27, 2019
.metadata Readme changes Mar 27, 2019
LICENSE Readme changes Mar 27, 2019
cuberto_bottom_bar.gif replaced gif with good one May 22, 2019
cuberto_bottom_bar.iml cuberto_bottom_bar gof added May 22, 2019
image1.png Readme changes Mar 27, 2019
screenshot1.png @author Kushal, Desc: Gif(s) added in readme file Mar 27, 2019

Cuberto Bottom Bar

Cuberto Bottom Bar in flutter

Cuberto Bottom bar Gif- Default Style

Cuberto Bottom bar Gif- Default Style

Cuberto Bottom bar Gif- Faded Style

Cuberto Bottom bar Gif- Faded Style

Getting Started

  cuberto_bottom_bar: ^0.0.2


For now this is limited to more than 1 tab, and less than 5. So 2-4 tabs. textColor will only be applied in the case of STYLE_NORMAL, in case of STYLE_FADED_BACKGROUND the tabColor will be set as textColor,(if tabColor is not set inactiveColor will be set)

manually drawer or endDrawer has to be added and then respective drawer has to be added in CubertoBottomBar ( CubertoDrawer.NO_DRAWER for no drawer, CubertoDrawer.START_DRAWER for drawer and CubertoDrawer.END_DRAWER for endDrawer)

By default the drawer overlaps the CubertoBottomBar, for that margin: EdgeInsets.only(bottom: 60.0) has been added. (Please check with the example)

The values in onTabChangedListener: (position, title, color) (position, title and color are null at the beginning), but gets the value once the tab is clicked.

Basic Usage

Adding the widget

bottomNavigationBar: CubertoBottomBar(
        inactiveIconColor: inactiveColor,
        tabStyle: CubertoTabStyle.STYLE_FADED_BACKGROUND, // By default its CubertoTabStyle.STYLE_NORMAL
        initialSelection: 0, // By default its 0
        drawer: CubertoDrawer.NO_DRAWER, // By default its NO_DRAWER (Availble START_DRAWER and END_DRAWER as per where you want to how the drawer icon in Cuberto Bottom bar)
        tabs: [
              iconData: Icons.home,
              title: "Home",
              tabColor: Colors.deepPurple),
              title: "Search",
              iconData: Icons.access_alarm,
              title: "Alarm",
              tabColor: Colors.amber),
              iconData: Icons.settings,
              title: "Settings",
              tabColor: Colors.teal),
        onTabChangedListener: (position, title, color) {
          setState(() {
            currentPage = position;
            currentTitle = title;
            currentColor = color;


iconData -> Icon to be used for the tab
title -> String to be used for the tab
tabColor: -> Colors to be used for background and label when STYLE_FADED_BACKGROUND is choosed
onClick -> Optional function to be used when the circle itself is clicked, on an active tab



tabs -> List of TabData objects
onTabChangedListener -> Function to handle a tap on a tab, receives int position, String title and Color tabColor (if not set will return inactiveIconColor in both STYLE_NORMAL and STYLE_FADED_BACKGROUND)


initialSelection -> Defaults to 0
inactiveIconColor -> Defaults to null, derives from Theme
textColor -> Defaults to Colors.white
barBackgroundColor -> Defaults to null, derives from Theme
tabStyle -> Defaults to CubertoTabStyle.STYLE_NORMAL
drawer -> Defaults to CubertoDrawer.NO_DRAWER (can be set as CubertoDrawer.START_DRAWER or CubertoDrawer.END_DRAWER as per the need for the placement of drawer icon) key -> Defaults to null


The bar will attempt to use your current theme out of the box, however you may want to theme it. Here are the attributes:

Cuberto Bottom Bar Theming - STYLE_FADED_BACKGROUND

Cuberto Bottom Bar Theming - STYLE_FADED_BACKGROUND

Cuberto Bottom Bar Theming - STYLE_NORMAL

Cuberto Bottom Bar Theming - STYLE_NORMAL


Using this package in a live app, let me know and I'll add you app here.


This package was inspired by a design on dribbble by Sourabh Gupta and the faded backgorund style from Aurelien Salomon:


Contributions are welcome, please submit a PR :)

You can’t perform that action at this time.