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 ↗