custom_bottom_navigation_bar 0.0.1 copy "custom_bottom_navigation_bar: ^0.0.1" to clipboard
custom_bottom_navigation_bar: ^0.0.1 copied to clipboard

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",
          ),
        ],
      ),
    );
copied to clipboard

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));
        },
copied to clipboard
39
likes
40
points
37
downloads

Publisher

unverified uploader

Weekly Downloads

2024.08.12 - 2025.02.24

A bottom navigation bar widget that is made to be customized

Homepage

License

MIT (license)

Dependencies

flutter

More

Packages that depend on custom_bottom_navigation_bar