app_bar_search 1.1.0
app_bar_search: ^1.1.0 copied to clipboard
A lightweight Flutter AppBar widget with integrated search and smooth animations.
1.1.0 #
Added #
- The New Animations: flipVertical: A 3D transformation where the title flips up like a shutter, and the search bar flips down into place.
- revealRight: The search bar expands horizontally from the search icon (right to left), widely used in Material 3 and modern web headers.
- slideUp: A clean motion where the title pushes up and out, while the search bar slides up from the bottom.
- zoomOut: Creates depth. The title recedes into the background (fades & scales down), and the search bar fades in on top.
- bounce: A playful but polished spring animation where the search bar slides in with a slight overshoot/settle effect.
1.0.8 #
Added #
- 5 distinct animation styles: fadeSlide, scale, rotate, elastic, slideRight
- SearchAnimationStyle enum for easy animation selection
- Performance optimizations with single AnimationController
- Different icon transitions based on selected animation style
Changed #
- Icon transition now uses scale for non-rotate styles
- Improved animation curves for better visual experience
Fixed #
- Removed unwanted rotation from all non-rotate animation styles
- Optimized widget rebuilds for better performance
1.0.6 #
Added #
- Smooth fade & slide animations for title and search field
- Animated search ↔ clear icon transition
- Full AppBar support using PreferredSizeWidget
- Search callbacks: onChanged, onSubmitted, onClear
- Controller & FocusNode support
- Accessibility improvements
Changed #
- AppBarSearch can now be used directly as Scaffold.appBar
- Improved customization options for text styles and decorations
Fixed #
- Focus handling during search toggle
- Clean state disposal for internal controllers