animated_options_bar
A reusable animated tabbar/scrollbar component with smooth selection animations for Flutter.
0.1.3
65 downloads/mo
#3088 most downloaded on pub.dev
evilHazzarD/animated_options_bar
What this package is like to depend on
Last release 3 months ago
14 May 2026
Ships fairly regularly
a new release about every 3 months
Nearly every release is documented
notes for 4 of 4 stable releases
Nothing withdrawn
no release was ever pulled
8 months old
4 releases · first in 2025
4 releases in the last 12 months
see the full history below
Release timeline
4 releases · Dec 2025 to May 2026
2026
Releases
latest 4-
0.1.314 May 2026Release notes
Open source →Changed
- Option labels render on a single line with
TextOverflow.ellipsiswhen space is limited, avoiding clipped or overflowing text in the bar.
Fixed
- In equal-width tab bar mode, the selection pill no longer extends past its slot (and get clipped) when one label’s intrinsic width is larger than its share of the row but the row still fits in tab bar mode.
- Option labels render on a single line with
-
0.1.215 Jan 2026Release notes
Open source →Added
- Disabled items support via
isItemEnabledcallback inAnimatedOptionsBar disabledTextColorparameter inOptionsBarConfigfor styling disabled items- Visual feedback for disabled state (reduced opacity, non-interactive)
- Disabled items support via
-
0.1.114 Jan 2026Release notes
Open source →Added
centerOptionsparameter toOptionsBarConfigfor centering option items within the bar- When
true, items are tightly grouped in the center with natural widths - When
false(default), maintains original behavior (expanded in tabbar mode, left-aligned in scrollbar mode) - Particularly useful in tabbar mode when items don't fill the entire width
- When
Changed
- Updated minimum SDK constraint from
^3.9.2to>=2.17.0for broader compatibility - Updated example SDK constraint to match package requirements
Fixed
- Selection indicator positioning when
centerOptionsis enabled - Text alignment with selection indicator in centered mode
- Item width calculation for proper alignment in centered tabbar mode
-
0.1.009 Dec 2025Release notes
Open source →Added
- Initial release of
animated_options_barpackage AnimatedOptionsBarwidget with smooth sliding and resizing animations- Automatic layout mode detection (tabbar vs scrollbar)
OptionsBarConfigfor customizable styling- Support for String items with auto-detection (getId/getLabel optional)
- Support for custom item types with getId/getLabel functions
- Built-in accessibility support with Semantics widgets
- Comprehensive error handling and edge case management
- Cached text measurements for performance optimization
- Comprehensive test suite
Features
- Smooth selection animations with configurable duration
- Automatic switching between tabbar mode (full width) and scrollbar mode (horizontal scrolling)
- Configurable colors, padding, spacing, and border radius
- Optional scroll arrows for scrollbar mode
- Optional background color and custom text styles
- Initial release of