Custom Bottom navigation bar on Flutter

  Navigation bar

Intro

Custom Bottom navigation bar on Flutter.

The updated one Support : Null safety & Support 9 items on Tabs & Some Color, Size, Effects and font customization.

Check the screenshot :

alt text

P.S

Make sure to upgrade your Flutter version to Latest version which support Null Safety.

Flutter upgrade

Usage

bottomNavigationBar: FancyBottomNavigation(
        tabs: [
          TabData(iconData: Icons.home, title: "Home", onclick: () {}),
          TabData(
              iconData: Icons.shopping_bag,
              title: "My Cart",
              onclick: () => {}),
          TabData(iconData: Icons.message, title: "Message", onclick: () => {}),
          TabData(
              iconData: Icons.notifications, title: "Notification", onclick: () => {}),
          TabData(
            iconData: Icons.person,
            title: "Profile",
            onclick: () => {},
          )
        ],
        initialSelection: 2,
        activeIconColor: Colors.white,
        circleColor: Color.fromARGB(255, 245, 154, 67),
        barBackgroundColor :  Color . fromARGB ( 255 , 229 , 233 , 234 ),
        inactiveIconColor: Colors.grey,
        key: bottomNavigationKey,
        onTabChangedListener: (position) {
          setState(() {
            currentPage = position;
          });
        },
      ),

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Download buttom navigation bar source code on GitHub


https://github.com/IhabZaidi/fancy_bottom_navigation_bar
1 forks.
3 stars.
1 open issues.

Recent commits: