Skip to content
pubscout

curved_navigation_bar

1.0.6, released 2 years ago by bednarczuk.dev

A Flutter package for easy implementation of a curved animating bottom navigation bar.

WASM-ready
$ flutter pub add curved_navigation_bar
Source repository

What it does

Provides a curved bottom navigation bar widget with smooth sliding animations for switching items. It supports custom colors, heights, animation curves, and can be controlled programmatically using a GlobalKey.

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

Use it when

  • You want a modern, curved bottom navigation bar with a floating active button effect
  • You need an animated navigation bar with customizable colors and transition durations

Skip it when

  • You require a standard Material Design BottomNavigationBar matching platform guidelines
  • You need more than 75.0 height for the navigation bar

Strengths

  • Easy to integrate and use
  • Smooth built-in animations with customizable curves and durations
  • Supports changing pages programmatically via GlobalKey

Weaknesses

  • Height is limited to a maximum of 75.0
  • Limited to a bottom navigation bar layout style

Setup

Kind
Flutter widgets
Effort
Low
Code generation
No
Direct dependencies
1
Scaffold(
  bottomNavigationBar: CurvedNavigationBar(
    backgroundColor: Colors.blueAccent,
    items: <Widget>[
      Icon(Icons.add, size: 30),
      Icon(Icons.list, size: 30),
      Icon(Icons.compare_arrows, size: 30),
    ],
    onTap: (index) {
      //Handle button tap
    },
  ),
  body: Container(color: Colors.blueAccent),
)

Alternatives

Packages that do the same job and could replace curved_navigation_bar.