flutter_search_panel 1.0.1 copy "flutter_search_panel: ^1.0.1" to clipboard
flutter_search_panel: ^1.0.1 copied to clipboard

Flutter search panel is a widget that can be used to provide search functionality to users for selectiong values from an data array.

Flutter Search Panel #

pub package

A Widget to allow users to search from a list of string and make a selection (Similar to a DropDownButtom).

Installing #

dependencies:
  flutter_search_panel: ^1.0.1
copied to clipboard

Import #

import 'package:flutter_search_panel/flutter_search_panel.dart';
copied to clipboard

How To Use #

List<SearchItem<int>> data = [
  SearchItem(0, 'This'),
  SearchItem(1, 'is'),
  SearchItem(2, 'a'),
  SearchItem(3, 'test'),
  SearchItem(4, '.'),
];

FlutterSearchPanel<int>(
  padding: EdgeInsets.all(10.0),
  selected: 3,
  title: 'Demo Search Page',
  data: data,
  icon: new Icon(Icons.check_circle, color: Colors.white),
  color: Colors.blue,
  textStyle: new TextStyle(color: Colors.white, fontWeight: FontWeight.bold, fontSize: 20.0, decorationStyle: TextDecorationStyle.dotted),
  onChanged: (int value) {
    print(value);
  },
),
copied to clipboard

Screenshots #

alt text alt text

Bugs & Requests #

If you encounter any bugs feel free to open an issue. Raise a ticket on github for suggestions. Pull request are also welcome.

Flutter #

For help getting started with Flutter, view our online documentation.

For help on editing plugin code, view the documentation.

License #

MIT License

4
likes
40
points
26
downloads

Publisher

unverified uploader

Weekly Downloads

2024.10.04 - 2025.04.18

Flutter search panel is a widget that can be used to provide search functionality to users for selectiong values from an data array.

Repository (GitHub)

License

MIT (license)

Dependencies

flutter

More

Packages that depend on flutter_search_panel