rolling_bottom_bar
1.1.0, released 6 days ago by ajomuch92.site
Dynamic bottom navigation bar with an animated ball indicator
WASM-ready
What it does
Provides a customizable bottom bar that can be driven by a PageController or an activeIndex. It supports icon rotation, custom spacing, radii, elevation, and item sizing.
AI-written summary of version 1.1.0, based on the package's README and metadata. Report an inaccuracy
Use it when
- You need a bottom navigation bar with a smooth animated indicator
- You want to control the bar via a PageController or a simple activeIndex
- You need custom spacing or icon rotation effects
- You prefer a lightweight widget with no external dependencies
Skip it when
- You require a full-featured navigation system with nested routes
- You need advanced theming or integration with other UI kits
- You are building a complex app that needs multiple navigation bars
Strengths
- Highly customizable appearance (spacing, radii, elevation, item size)
- Simple API with no extra dependencies
- Supports both PageController and activeIndex control
- Built-in icon rotation and active color handling
Weaknesses
- Limited to bottom navigation only
- No built-in support for deep linking or nested navigation
- Requires Flutter 3.10+ and Dart 3+
Setup
- Kind
- Flutter widgets
- Effort
- Low
- Code generation
- No
- Direct dependencies
- 0
```dart
import 'package:rolling_bottom_bar/rolling_bottom_bar.dart';
import 'package:rolling_bottom_bar/rolling_bottom_bar_item.dart';
RollingBottomBar(
controller: _controller,
items: [
RollingBottomBarItem(Icons.home, label: 'Home'),
RollingBottomBarItem(Icons.star, label: 'Favorites'),
RollingBottomBarItem(Icons.person, label: 'Profile'),
],
activeItemColor: Colors.green.shade700,
enableIconRotation: true,
onTap: (index) {
_controller.animateToPage(index, duration: const Duration(milliseconds: 400), curve: Curves.easeOut);
},
)
```Alternatives
Packages that do the same job and could replace rolling_bottom_bar.
- awesome_bottom_bar
A customizable bottom navigation bar with various animated styles.
50Compare - dots_indicator
A customizable dots indicator widget to show progression for a PageView.
81Compare - responsive_navigation_bar
A responsive bottom navigation bar with automatic scaling for screen sizes.
76Compare - flutter_widgetz
A collection of miscellaneous Flutter widgets, date pickers, and input components.
73Compare