motion_tab_bar
2.0.4, released 3 years ago by an unverified publisher
Animated bottom navigation bar with customizable icons, colors, and badge support.
What it does
Provides a BottomNavigationBar where icons animate into place when selected. Supports optional badges, RTL layouts, and programmatic tab changes via a controller.
AI-written summary of version 2.0.4, based on the package's README and metadata. Report an inaccuracy
Use it when
- You need a custom animated bottom navigation bar beyond the default Flutter widget
- You want built‑in badge support and RTL compatibility
- You prefer a controller to change tabs programmatically
Skip it when
- You only need a simple static navigation bar without animation
- You require deep linking or nested navigation handling
- You need a navigation solution that integrates with routing packages
Strengths
- Smooth built‑in animations
- Badge support out of the box
- RTL support
- Easy controller‑based tab changes
Weaknesses
- Limited to bottom navigation use‑case
- No built‑in routing or deep‑link handling
- Customization beyond provided properties may require source edits
Setup
- Kind
- Flutter widgets
- Effort
- Low
- Code generation
- No
- Direct dependencies
- 1
```dart
MotionTabBar(
controller: _motionTabBarController,
initialSelectedTab: "Home",
labels: const ["Dashboard", "Home", "Profile", "Settings"],
icons: const [Icons.dashboard, Icons.home, Icons.people_alt, Icons.settings],
onTabItemSelected: (int i) => setState(() => _motionTabBarController!.index = i),
);
```Alternatives
Packages that do the same job and could replace motion_tab_bar.
- menu_bar
A customizable application menu bar widget with submenus for Flutter desktop apps.
74Compare - flutter_icon_snackbar
Animated snack bar with icon, color, text, and programmatic dismissal
67Compare - flutter_widgetz
A collection of miscellaneous Flutter widgets, date pickers, and input components.
73Compare - app_badge_plus
Flutter plugin to set numeric badges on app icons for iOS, Android, and macOS
84Compare
Works with
Packages commonly used together with motion_tab_bar: ones it builds on, ones built on it, and its own family.