v0.0.1+5pinterest_nav_bar
Ein neues Flutter-Paketprojekt.
26Likes 430-Tage-Downloads120Pub-Punkte
AndroidiOSWebmacOSWindowsLinux
NeatFastro/pinterest_nav_bar open-source repository details.
Englischer Projektschnappschuss. Aktuelle Inhalte auf GitHub.
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
],
),
Abhängigkeiten 3 Einträge
{"sdk":"flutter"}^5.0.0{"sdk":"flutter"}Nach Anwendungsfall filtern, Aktivität vergleichen und vor der Nutzung das Originalprojekt prüfen.
“A repository is the most basic element of GitHub.”
GitHub Docs — About repositories ↗