animated_button_bar
1.0.0, released 4 years ago by an unverified publisher
A customizable button bar with animated selection.
What it does
Provides a row of buttons that animate when selected. Supports inversion, custom colors, radius, padding and elevation. Allows programmatic index changes via a controller.
AI-written summary of version 1.0.0, based on the package's README and metadata. Report an inaccuracy
Use it when
- You need a simple selectable button bar with built‑in animation
- You want quick visual feedback for tab‑like UI without building it from scratch
Skip it when
- You require complex navigation or routing logic
- You need a full‑featured tab controller with deep state management
Strengths
- Easy to integrate and customize
- Built‑in animation and inversion support
- Works on all Flutter platforms
Weaknesses
- Limited to button‑bar use‑case
- No built‑in state‑management integration
- Package version appears outdated in README
Setup
- Kind
- Flutter widgets
- Effort
- Low
- Code generation
- No
- Direct dependencies
- 1
Column(
mainAxisAlignment: MainAxisAlignment.center,
children: [
AnimatedButtonBar(
radius: 8.0,
padding: const EdgeInsets.all(16.0),
invertedSelection: true,
children: [
ButtonBarEntry(onTap: () => print('Day'), child: Text('Day')),
ButtonBarEntry(onTap: () => print('Week'), child: Text('Week')),
],
),
],
);Alternatives
Packages that do the same job and could replace animated_button_bar.
- dot_curved_bottom_nav
An animated bottom navigation bar with a top edge that curves around a dot.
69Compare - menu_bar
A customizable application menu bar widget with submenus for Flutter desktop apps.
74Compare - flutter_joystick
A virtual joystick widget for Flutter applications with high customization.
81Compare - kalender
A customizable calendar widget with day, multi-day, month, and schedule views.
92Compare
Works with
Packages commonly used together with animated_button_bar: ones it builds on, ones built on it, and its own family.