搜索插件、代码仓与 APP 分类

floating_bottom_navigation_bar 封面
插件详情v1.5.2

floating_bottom_navigation_bar

高度可定制的浮动底部导航栏 Flutter 包。

AndroidiOSWebmacOSWindowsLinux
近 30 天下载
3.4万
喜欢数
201
Pub 分数
140

安装插件

flutter pub add floating_bottom_navigation_bar

插件介绍

基于插件公开信息、社区数据与项目使用情况整理的选型参考。

一个高度可定制的浮动底部导航栏,专为 Flutter 设计,通过流畅的动画和灵活的样式来提升用户体验。它支持所有主要平台,包括 Android、iOS、Web、macOS、Windows 和 Linux。该包允许开发者轻松自定义颜色、图标、标签和行为,以匹配应用的设计需求。非常适合需要现代、动态浮动底部导航界面的应用。

适合场景

  • 需要浮动底部导航栏的移动和Web应用程序
  • 具有复杂导航模式的应用程序
  • 可自定义的 UI 组件,用于保持品牌一致性

主要特点

  • 浮动动画效果
  • 丰富的自定义选项
  • 跨平台支持
  • 平滑过渡
  • 支持图标和标签
  • 可配置的项目间距

适合对象

  • 开发现代 Flutter 应用的开发者
  • 注重设计的项目需要独特的导航
  • 针对多个平台的应用

使用建议

  • 可能需要额外的样式来实现复杂布局
  • 大量项目带来的性能影响
  • 与流行的替代方案相比,文档有限

原始 README

以下为关联源码仓库的 README 原文快照,最新内容请访问源码仓库。

✨ Flutter Floating Bottom Navigation Bar

Fully customizable floating bottom navigation package for flutter.

🎮 How To Use

    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'),
            ],
          ),
          
        );

❗️ Note
  • Pull requests are welcomed, especially the animations :)

⭐️ License

MIT License

所属分类

源码仓库

使用此插件的项目