flutter_search_panel 0.0.2 flutter_search_panel: ^0.0.2 copied to clipboard
Flutter search panel is a widget that can be used to provide search functionality to users for selectiong values from an array of strings. Can be used instead of Dropdownbutton for stability and better looks.
Flutter Search Panel #
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: ^0.0.2
Import #
import 'package:flutter_search_panel/flutter_search_panel.dart';
How To Use #
FlutterSearchPanel(
padding: EdgeInsets.all(10.0),
selected: 'a',
title: 'Demo Search Page',
data: ['This', 'is', 'a', 'test', 'array'],
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: (value) {
print(value);
},
),
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