neos_bottom_navigation 0.1.2 copy "neos_bottom_navigation: ^0.1.2" to clipboard
neos_bottom_navigation: ^0.1.2 copied to clipboard

outdated

A bottom navigation bar widget that is made to be customized

Neos bottom bar #

A bottom navigation bar widget that is made to be customized

alt text alt text

How to use it? #

Scaffold(
      bottomNavigationBar: NeosBottomNavigation(
        items: [
          NeosBottomNavigationItem(
            icon: Icons.map,
            title: "Map",
          ),
          NeosBottomNavigationItem(
            icon: Icons.near_me,
            title: "Directions",
          ),
          NeosBottomNavigationItem(
            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));
        },

You can even set index by providing value to the widget:

setIndex: yourValue,

Initial development sponsored by Zaynin Pty (Ltd)

14
likes
40
pub points
0%
popularity

Publisher

unverified uploader

A bottom navigation bar widget that is made to be customized

Homepage

License

MIT (license)

Dependencies

flutter

More

Packages that depend on neos_bottom_navigation