searchbar_animation
0.0.4, released 4 years ago by an unverified publisher
A customizable search bar widget with a horizontal slide animation.
What it does
Provides a search bar widget that expands and collapses with a horizontal slide animation. It supports customizable styling, button icons, text input parameters, and various expansion callbacks.
AI-written summary of version 0.0.4, based on the package's README and metadata. Report an inaccuracy
Use it when
- You need an animated sliding search bar in your app bar or UI.
- You want a customizable search input that collapses into an icon button.
Skip it when
- You need a persistent, full-width search input without toggle animations.
- You require a complex search-as-you-type delegate mechanism out of the box.
Strengths
- Provides built-in horizontal slide animation for search bars.
- Highly customizable with multiple color, border, and widget options.
- Includes keyboard focus control and expansion callbacks.
Weaknesses
- Limited to a specific sliding search bar pattern.
- Relies on version 0.0.4 which may lack modern updates.
Setup
- Kind
- Flutter widgets
- Effort
- Low
- Code generation
- No
- Direct dependencies
- 0
SearchBarAnimation(
textController: TextEditingController(),
isOriginalAnimation: false,
buttonBorderColour: Colors.black45,
buttonIcon: Icons.search,
onFieldSubmitted: (String value){
debugPrint('onFieldSubmitted value $value');
},
)Alternatives
Packages that do the same job and could replace searchbar_animation.
- page_animation_transition
Add customizable page transitions like slide, fade, scale, and rotate for Navigator and go_router.
71Compare - particles_network
Performant, interactive particle network widget for Flutter background animations.
83Compare - simple_ripple_animation
A customizable Flutter widget for ripple and pulse animations.
75Compare - easy_stepper
Guide users step by step. A fully customizable, beautiful and easy-to-use Flutter stepper to show progress or collect information in organized steps.
73Compare