nice_searchbar 0.0.3 copy "nice_searchbar: ^0.0.3" to clipboard
nice_searchbar: ^0.0.3 copied to clipboard

A customizable, animated search bar for Flutter applications.

NiceSearchBar #

A customizable, animated search bar for Flutter applications.

Features #

  • Animated search bar that expands and collapses
  • Customizable hint text
  • Optional additional function on toggle

Installation #

Add this to your pubspec.yaml:

dependencies:
    nice_searchbar:
        git:
            url: https://github.com/didierganthier/nice_searchbar.git

Then run:

flutter pub get

Usage #

Import the package:

import 'package:nice_searchbar/nice_searchbar.dart';

Use it in your app:

NiceSearchBar(
    hint: "Search...",
    onChanged: (value) {
        print("Search input: $value");
    },
    additionalFunction: () {
        print("AppBar toggled!");
    },
);

Note: This widget will not work if used inside an AppBar unless properly configured. Ensure you handle layout constraints and widget placement correctly when integrating it into an AppBar.

0
likes
125
points
1
downloads

Publisher

unverified uploader

Weekly Downloads

A customizable, animated search bar for Flutter applications.

Documentation

API reference

License

MIT (license)

Dependencies

flutter, google_fonts

More

Packages that depend on nice_searchbar