animated_search_bar
2.8.0, released 2 years ago by lazycatlabs.com
A search bar widget with an expand and collapse animation transition.
WASM-ready
What it does
Provides an animated search bar widget that expands and collapses on interaction. It includes a customizable label, search decoration, alignment, and maintains search state via onChanged and debouncer callbacks.
AI-written summary of version 2.8.0, based on the package's README and metadata. Report an inaccuracy
Use it when
- You need a collapsible search bar in your app bar or UI layout with smooth animations
- You want a ready-made search input with built-in state maintenance and debouncer support
Skip it when
- You require an always-expanded search input field
- You need complex search delegation features built specifically into the platform router
Strengths
- Easy to customize with parameters like label, searchDecoration, and custom icons
- Includes built-in debouncer duration support
- Maintains onChange state out of the box
Weaknesses
- Limited to its specific animated search bar design
- Not documented for complex search filtering or suggestions history features
Setup
- Kind
- Flutter widgets
- Effort
- Low
- Code generation
- No
- Direct dependencies
- 0
not documented
AnimatedSearchBar(
label: "Search Something Here",
onChanged: (value) {
debugPrint("value on Change");
},
)