animated_bottom_navigation_bar
1.4.1, released 4 months ago by lanars.com
An animated bottom navigation bar widget supporting floating action buttons and notches.
What it does
Provides a customizable bottom navigation bar widget with built-in tab animations and support for FloatingActionButton docking positions and notch smoothness. It can be used with standard icons or via a custom builder.
AI-written summary of version 1.4.1, based on the package's README and metadata. Report an inaccuracy
Use it when
- You want a bottom navigation bar that animates when changing tabs
- You need to dock a FloatingActionButton into a notched bottom navigation bar
Skip it when
- You require Material 3's NavigationBar or standard Flutter BottomNavigationBar specifications
- You have more than 5 navigation elements
Strengths
- Smooth animations out of the box
- Multiple notch smoothness and corner radius options
- Supports custom builders for active/inactive states
Weaknesses
- Limited to 2, 3, 4, or 5 navigation elements
- Requires manual state management to drive tab changes
Setup
- Kind
- Flutter widgets
- Effort
- Low
- Code generation
- No
- Direct dependencies
- 0
Scaffold(
bottomNavigationBar: AnimatedBottomNavigationBar(
icons: iconList,
activeIndex: _bottomNavIndex,
onTap: (index) => setState(() => _bottomNavIndex = index),
),
);Alternatives
Packages that do the same job and could replace animated_bottom_navigation_bar.
- bart
A bottom navigation bar and tabulation system using Navigator for switching tabs.
65Compare - flutter_floating_bottom_bar
An adaptable floating bottom bar that reacts to scrolling and stays accessible.
87Compare - animated_notch_bottom_bar
An animated notch bottom navigation bar with customizable items and blur effects.
75Compare - curved_navigation_bar_pro
A customizable curved bottom navigation bar with an animated notch and elastic FAB bubble.
77Compare
Works with
Packages commonly used together with animated_bottom_navigation_bar: ones it builds on, ones built on it, and its own family.