v0.0.1+5pinterest_nav_bar
A new Flutter package project.
26Likes 430-day downloads120Pub points
AndroidiOSWebmacOSWindowsLinux
NeatFastro/pinterest_nav_bar open-source repository details.
English project snapshot. Visit GitHub for the latest content.
Pinterest app's Like bottom navigation bar.
| Light theme | Dark theme |
|---|---|
![]() |
![]() |
Wrap you [MaterialApp] widget with [PinterestNavBarController] widget
return PinterestNavBarController(
child: MaterialApp(
title: 'Pinterest Nav Bar Example',
home: Pages(),
),
);
Adding the widget
floatingActionButtonLocation: FloatingActionButtonLocation.centerDocked,
floatingActionButton: PinterestNavBar(
currentIndex: selectedPageIndex,
onTap: (i) {
print('PinterestNavBar.onTap($i)');
setState(() {
selectedPageIndex = i;
});
},
items: [
Icons.home,
Icons.search,
Icons.chat_bubble_outline_rounded,
Icons.person
],
),
Dependency list 3 items
{"sdk":"flutter"}^5.0.0{"sdk":"flutter"}Start with your use case, compare repository activity, and check the original project before adopting it.
“A repository is the most basic element of GitHub.”
GitHub Docs — About repositories ↗