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 ↗