搜索分类、插件与代码仓

GitHub 代码仓nohli/responsive_navigation_bar

响应式导航栏

nohli/responsive_navigation_bar open-source repository details.

响应式导航栏 项目封面
星标
16
复刻
5
最近推送(UTC)
2026年9月18日
项目状态
未归档

原始 README

以下为英文项目原文快照,最新内容请访问 GitHub。

Getting Started

Installation

Example Code

Features

  • Very easy to set up, beginner friendly

  • Everything is documented + you will be asked to add required values - the rest is optional (with sound null safety)

  • By default, fontSize, iconSize and padding are responsive (change size with screen size)

  • Set iconSize to control icon size independently (defaults to fontSize if not specified)

  • Optional: Beautiful gradient (backgroundGradient) for navigation bar and/or buttons (or solid colors)

  • Optional: Colored borders (border) for navigation bar and/or buttons

  • Optional: Change the opacity (backgroundOpacity) of the menu bar

  • Optional: Blurred background (backgroundBlur) from the top of the navigation bar to the bottom of the screen

  • Optional: Separate border radius controls (borderRadius, buttonBorderRadius)

  • Optional: Control button spacing (buttonSpacing)

  • By default shows text on selected button, optionally show on inactive buttons too (showInactiveButtonText)

  • Only StatelessWidgets

  • How to make the bottomNavigationBar float above the Scaffold's body:

Scaffold(
  extendBody: true,
  body: SafeArea(bottom: false, ...),
  bottomNavigationBar: ...
  ...
)
  • Colors in the example GIFs below:
backgroundColor:
    Theme.of(context).brightness == Brightness.dark
        ? const Color(0xff3c3c3c)
        : const Color(0xffbebebe),
inactiveIconColor:
    Theme.of(context).brightness == Brightness.dark
        ? const Color(0xffaaaaaa)
        : const Color(0xff969696),

ResponsiveNavigationBar in Action

With animation

Screenrecording Screenrecording
Screenrecording Screenrecording

Without animation

Screenrecording Screenrecording
Screenrecording Screenrecording

Todo

  • Add feature requests
  • Merge your pull requests
Joachim Nohl GitHub avatar
GitHub 作者

Joachim Nohl ↗

Senior Freelance Flutter Engineer

语言DartSwiftHTMLRubyKotlinObjective-C

分类

此仓库发布的插件

使用的依赖

依赖清单 3 项

  • flutter{"sdk":"flutter"}
  • flutter_lints开发依赖^6.0.0
  • flutter_test开发依赖{"sdk":"flutter"}

如何选择适合项目的代码仓?

先按使用场景筛选,再比较项目活跃情况,最后到原始仓库核对使用要求。

  1. 通过仓库名、作者或描述搜索,再按技术分类缩小范围。
  2. 结合星标、复刻与最近推送比较项目;星标反映社区关注,不代表质量保证。
  3. 使用前在 GitHub 核对 README、许可证与 Issues。

来源与维护

“A repository is the most basic element of GitHub.”

GitHub Docs — About repositories ↗