expandable_search_bar
0.0.2, released 4 years ago by salehtz.ir
An animated expandable search bar widget for Flutter.
What it does
Provides an animated search bar widget that expands and collapses. It allows customization of width, background color, text, icon color, shadows, animation duration, and animation curve.
AI-written summary of version 0.0.2, based on the package's README and metadata. Report an inaccuracy
Use it when
- You want a searchable UI component with built-in expansion animations
- You are developing for mouse devices like Web, Windows, macOS, or Linux where the package is documented to work
Skip it when
- You need immediate robust support for mobile devices, as the package note states it is currently only available on mouse devices
- You need advanced font styling and color controls out-of-the-box, which are listed as pending goals
Strengths
- Easy to integrate and use in Flutter layouts
- Offers multiple visual customization properties like shadows, colors, and durations
Weaknesses
- Currently restricted to mouse-based devices (Web, Windows, macOS, Linux)
- Lacks direct built-in options to change font style and color
Setup
- Kind
- Flutter widgets
- Effort
- Low
- Code generation
- No
- Direct dependencies
- 0
Add the dependency to pubspec.yaml and import it in your Dart code.
AnimatedSearchBar(
ExpandableSearchBar(
onTap: () {
print('searched');
},
hintText: "search something",
),
)Alternatives
Packages that do the same job and could replace expandable_search_bar.
- flutter_speed_dial
Flutter plugin to implement a Material Design Speed Dial with labels and animated icons.
92Compare - searchable_listview
Flutter widget providing a searchable, sortable, and paginated list UI.
91Compare - anim_search_bar
An animated search bar widget with multiple customization options.
50Compare - animated_custom_dropdown
Highly customizable animated dropdown for Flutter — search, network search with infinite scroll, multi-selection, overlay animations and a floating label.
76Compare