Skip to content
pubscout

anim_search_bar

2.0.3, released 4 years ago by gokula.dev

An animated search bar widget with multiple customization options.

WASM-ready
$ flutter pub add anim_search_bar
Source repository

What it does

Provides a search bar widget that expands and collapses with an animation. It supports text controllers, right-to-left layout, auto-focus, custom icons, and suffix tap handlers.

AI-written summary of version 2.0.3, based on the package's README and metadata. Report an inaccuracy

Use it when

  • You need an expandable search bar in your app's UI
  • You want custom animations and styling for search inputs

Skip it when

  • You need a static or permanently expanded search bar
  • You require complex search logic built directly into the widget

Strengths

  • Supports RTL and auto-focus
  • Easy to customize with icons, colors, and widths

Weaknesses

  • Limited documentation beyond basic parameter lists
  • Requires manual state management via TextEditingController

Setup

Kind
Flutter widgets
Effort
Low
Code generation
No
Direct dependencies
0
AnimSearchBar(
  width: 300,
  textController: textController,
  onSuffixTap: () {
    setState(() {
      textController.clear();
    });
  },
)

Alternatives

Packages that do the same job and could replace anim_search_bar.

  • animated_custom_dropdown

    Highly customizable animated dropdown for Flutter — search, network search with infinite scroll, multi-selection, overlay animations and a floating label.

  • dropdown_flutter

    Customizable dropdown with search, multi‑select, and built‑in validation

  • find_in_page

    An in-app find bar that highlights and scrolls to text matches, including lazy-list rows.

  • dot_curved_bottom_nav

    An animated bottom navigation bar with a top edge that curves around a dot.