felixmccuaig / flutter-autocomplete-textfield

An autocomplete Textfield for flutter
MIT License
181 stars 131 forks source link

how do i make thr text filtering non case sesitivite but the value remains the same in the suggestions i.e retains its case #113

Closed sanidhya711 closed 3 years ago

sanidhya711 commented 3 years ago

i saw soemthing like this on the bottom of the basic usage itemFilter: (item, query) { return item.toLowerCase().startsWith(query.toLowerCase()); } but i cant understand where to put this since the Widget dosent have any itemFilter property that we can set

taimoor522 commented 3 years ago

you should look again because widget has itemFilter property.