standard_searchbar_v2 2.1.4 copy "standard_searchbar_v2: ^2.1.4" to clipboard
standard_searchbar_v2: ^2.1.4 copied to clipboard

A simple and very customizable search bar widget for Flutter.

Standard SearchBar #

Upgraded version from Standart SearchBar

A simple and very customizable search bar widget for Flutter.

Preview Code

Features #

  • Implement a search bar with ease.
  • Customize the search bar's appearance:
    • Change the search icon.
    • Adjust size and color.
    • Personalize placeholder text.

Installation #

Add the following line to your pubspec.yaml file:

dependencies:
  standard_searchbar: ^2.1.4

or installing using your cmd or terminal:

flutter pub add standard_searchbar_v2

Then, run flutter pub get to install the package.

Usage #

Import the package:

import 'package:standard_searchbar/new/standard_searchbar.dart';

or

import 'package:standard_searchbar/old/standard_searchbar.dart';

Create a StandardSearchBar widget:

StandardSearchBar(
  onChanged: (value) {
    // Handle search input change
  },
  onSubmitted: (value) {
    // Handle search submission
  },
),

Examples #

StandardSearchBar(
  width: 360,
  suggestions: [
    'apple',
    'banana',
    'melon',
    'orange',
    'pineapple',
    'strawberry',
    'watermelon'
  ],
),

Contributing #

Contributions are welcome! Please fork the repository and open a pull request with your changes.

License #

This project is licensed under the MIT License - see the LICENSE file for details.

3
likes
150
points
43
downloads

Publisher

verified publisherrizkyghofur.blogspot.com

Weekly Downloads

A simple and very customizable search bar widget for Flutter.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

flutter

More

Packages that depend on standard_searchbar_v2