alexrindone / flutter_textfield_search

FTFS is a Flutter package which uses a TextField Widget to search and select a value from a list. It's a simple, lightweight, and fully tested package unlike other "autocomplete" or textfield search packages with 100% code coverage.
BSD 2-Clause "Simplified" License
27 stars 33 forks source link

Added option to choose amount of characters before starting the search #31

Closed IssamElNass closed 3 years ago

IssamElNass commented 3 years ago

I've added the option to give an amount of characters before starting the search.

larsdroid commented 3 years ago

Commit 33e9969 looks like a very useful addition. Please merge as this would be helpful to many. Commit 36bc8c7 is to be ignored. Commit 961ad1a (setting the default chars to two) is optional.

alexrindone commented 3 years ago

@larsdroid thanks for taking a look at this. I'd love to get a test for the functionality. I know it's super straight forward but any chance we can get one added? Thank you!

alexrindone commented 3 years ago

@IssamElNass @larsdroid I added this functionality in, but had to do some tweaking and run the tests for code coverage. Thank you!