v1.5.2floating_bottom_navigation_bar
高度可自訂的浮動底部導覽列 Flutter 套件。
201喜歡 3.4萬近 30 天下載140Pub 分數
AndroidiOSWebmacOSWindowsLinux
適用於 Flutter 的浮動底部導航欄套件
以下為英文專案原文快照,最新內容請造訪 GitHub。
Fully customizable floating bottom navigation package for flutter.
Scaffold(
appBar: AppBar(
title: Text('Example'),
),
//If you want to show body behind the navbar, it should be true
extendBody: true,
bottomNavigationBar: FloatingNavbar(
onTap: (int val) {
//returns tab id which is user tapped
},
currentIndex: 0,
items: [
FloatingNavbarItem(icon: Icons.home, title: 'Home'),
FloatingNavbarItem(icon: Icons.explore, title: 'Explore'),
FloatingNavbarItem(icon: Icons.chat_bubble_outline, title: 'Chats'),
FloatingNavbarItem(icon: Icons.settings, title: 'Settings'),
],
),
);
MIT License
依賴清單 2 項
{"sdk":"flutter"}{"sdk":"flutter"}先依使用情境篩選,再比較專案活躍情況,最後到原始儲存庫確認使用要求。
“A repository is the most basic element of GitHub.”
GitHub Docs — About repositories ↗