neos_bottom_navigation 0.1.3 neos_bottom_navigation: ^0.1.3 copied to clipboard
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
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)