Skip to content
pubscout

custom_navigation_bar

0.8.2, released 5 years ago by an unverified publisher

A custom navigation bar widget with bubble click effects and animations.

WASM-ready
$ flutter pub add custom_navigation_bar
Source repository

What it does

Provides a customizable bottom navigation bar widget featuring bubble click effects, icon scaling, notification badges, titles, blur effects, and floating bar options.

AI-written summary of version 0.8.2, based on the package's README and metadata. Report an inaccuracy

Use it when

  • You want a custom bottom navigation bar with bubble animations inspired by Dribbble designs.
  • You need features like floating navigation bars, blur backgrounds, and notification badges on tabs.

Skip it when

  • You require the exact native Material or Cupertino navigation bar implementation without custom bubble animations.
  • You are using a routing package that heavily couples with specific navigation bars (though it can work alongside standard state management).

Strengths

  • Cute and smooth bubble click effect animations out of the box.
  • Highly customizable (colors, scale factor, stroke, blur effect, floating style, border radius).
  • Supports notification badges and tab titles.

Weaknesses

  • Niche UI widget with very specific aesthetic style that might not fit every app design.
  • Breaking changes introduced in past versions regarding widget types for icons.

Setup

Kind
Flutter widgets
Effort
Low
Code generation
No
Direct dependencies
0

Simply add the dependency to pubspec.yaml and import the package. It is recommended to set extendBody to true in Scaffold when using isFloating: true.

CustomNavigationBar(
  items: [
    CustomNavigationBarItem(
      icon: Icon(Icons.home),
      title: Text("Home"),
    ),
    CustomNavigationBarItem(
      icon: Icon(Icons.shopping_cart),
      title: Text("Cart"),
    ),
  ],
  currentIndex: _currentIndex,
  onTap: (index) {
    setState(() {
      _currentIndex = index;
    });
  },
)

Alternatives

Packages that do the same job and could replace custom_navigation_bar.