custom_bottom_navigation_bar 0.0.1

Flutter Android iOS web

A bottom navigation bar widget that is made to be customized

Custom bottom navigation bar #

A bottom navigation bar widget that is made to be customized

alt text alt text

How to use it? #

Scaffold(
      bottomNavigationBar: CustomBottomNavigationBar(
        items: [
          CustomBottomNavigationBarItem(
            icon: Icons.map,
            title: "Map",
          ),
          CustomBottomNavigationBarItem(
            icon: Icons.near_me,
            title: "Directions",
          ),
          CustomBottomNavigationBarItem(
            icon: Icons.settings,
            title: "Settings",
          ),
        ],
      ),
    );

You can also add a parameter onTap (which returns current index) to control PageController:

onTap: (index) {
          _pageController.animateToPage(index,
              curve: Curves.fastLinearToSlowEaseIn,
              duration: Duration(milliseconds: 600));
        },
5
likes
100
pub points
73%
popularity

A bottom navigation bar widget that is made to be customized

Homepage

Documentation

API reference

Uploader

stefphan01@gmail.com

License

MIT (LICENSE)

Dependencies

flutter

More

Packages that depend on custom_bottom_navigation_bar