v0.0.1+5pinterest_nav_bar
一个新的 Flutter 包项目。
26喜欢 4近 30 天下载120Pub 分数
AndroidiOSWebmacOSWindowsLinux
NeatFastro/pinterest_nav_bar open-source repository details.
以下为英文项目原文快照,最新内容请访问 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
],
),
依赖清单 3 项
{"sdk":"flutter"}^5.0.0{"sdk":"flutter"}先按使用场景筛选,再比较项目活跃情况,最后到原始仓库核对使用要求。
“A repository is the most basic element of GitHub.”
GitHub Docs — About repositories ↗