Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to use it with listview? #19

Open
RayhanYulanda opened this issue Mar 17, 2020 · 2 comments
Open

How to use it with listview? #19

RayhanYulanda opened this issue Mar 17, 2020 · 2 comments

Comments

@RayhanYulanda
Copy link

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

@ThomasEcalle
Copy link
Contributor

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) :

  • Create a List of items that you give as suggestions parameter
  • When searching, you just have to filter this list !

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
Copy link

azazadev commented Aug 4, 2020

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants