smartnsoft / flappy_search_bar

SearchBar widget to handle most of search cases
MIT License
172 stars 94 forks source link

How to use it with listview? #19

Open RayhanYulanda opened 4 years ago

RayhanYulanda commented 4 years ago

I wnt to make searchable listview but it really confussing how to make it

ThomasEcalle commented 4 years ago

Hi @RayhanYulanda First of all, I am sorry for the delay. The situation in my company (in France) with the Covid-19 has forced us to put our open source projects on the side for a moment... But I am back ! :)

I am not sure about what you mean by searchable listview. But, is it a ListView in which you may search fort particular item ? It it is so, flappy_search_bar is not really the perfect widget for you I think. flappy_search_bar is more useful for http searchs.

But you could do something like this (this more like a hack than a really good answer, because the best answer is that this is not the right package to do what you meant) :

The issue will be about the "loading" widget but that is the best you can do with flappy_search_bar I think, if I understood well your request.

I'll try to be more present on this package, despite the difficult context that had lead us to change a lot the way we work here, sorry again for the delay :)

azazadev commented 4 years ago

Hi @ThomasEcalle

I'm using ListView with Card ( the card contain information of user posts, user name, post title .... ) all saved on FireStore

and I would lile to add Search bar on top of ListView ( seach post by user name, by title ... )

do you suggest to use flappy_search_bar to do this ? if yes do you have any sample ?

I'm confussing after reading you last comment ( But, is it a ListView in which you may search fort particular item ? It it is so, flappy_search_bar is not really the perfect widget for you I think. )

Thanks