material_search_bar 1.0.0 copy "material_search_bar: ^1.0.0" to clipboard
material_search_bar: ^1.0.0 copied to clipboard

A materialistic and feature packed search bar with a Trie implementation for efficient autocorrect. Made by Christopher Gong and Ankush Vangari.

Material_Search_Bar #

A materialistic and feature packed search bar with a Trie implementation for efficient autocorrect. Made by Christopher Gong and Ankush Vangari.

Usage #

A simple usage example:

import 'package:search_bar/MaterialSearchBar.dart';

@override Widget build(BuildContext context) { MaterialSearchBar mSB = MaterialSearchBar( searchBarColor: Colors.white, searchBarTextColor: Colors.black, searchBarFontSize: 20.0, searchResultsBackgroundColor: Colors.white, searchResultsTextColor: Colors.black, searchResultsFontSize: 20.0, checkmarkIcon: Icon(Icons.check, color: Colors.teal[400]), submitButton: FloatingActionButton( heroTag: null, tooltip: "Search", child: new Icon(Icons.arrow_forward), backgroundColor: Theme.of(context).primaryColor, foregroundColor: Colors.white, ), items: ['apple', 'banana'], ); mSB.changeOnSubmit(() { for (String s in mSB.selectedItems) print(s); }); mSB.changeOnButtonSubmit((String value) { for (String s in mSB.selectedItems) print(s); }); return mSB; }

Features and bugs #

Please file feature requests and bugs at the issue tracker.

0
likes
30
pub points
57%
popularity

Publisher

unverified uploader

A materialistic and feature packed search bar with a Trie implementation for efficient autocorrect. Made by Christopher Gong and Ankush Vangari.

Repository (GitHub)
View/report issues

License

unknown (LICENSE)

Dependencies

flutter, trie

More

Packages that depend on material_search_bar