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.
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.
- curved_labeled_navigation_bar
An animating curved shape bottom navigation bar with item labels.
51Compare - flutter_floating_bottom_bar
An adaptable floating bottom bar that reacts to scrolling and stays accessible.
87Compare - curved_navigation_bar_pro
A customizable curved bottom navigation bar with an animated notch and elastic FAB bubble.
77Compare - native_glass_navbar
A Flutter plugin that renders the native iOS Liquid Glass style navigation bar.
72Compare