Skip to content
This repository has been archived by the owner on Dec 27, 2023. It is now read-only.

Real time filtering #13

Open
fvisticot opened this issue Mar 14, 2018 · 5 comments
Open

Real time filtering #13

fvisticot opened this issue Mar 14, 2018 · 5 comments

Comments

@fvisticot
Copy link

I need to filter the listview when user tapes in the search bar.
I have implemented the TextEditingController + listener

But, the listview is hidden when the searchbar is displayed.

How to display the list and filtered list when searchbar is active and users is typing text ?

@ArcticZeroo
Copy link
Owner

I'm not really sure what the issue is. Can you post the relevant code?
Assuming I do understand you correctly though, Isn't it true that you control the ListView? Also consider using https://pub.dartlang.org/packages/material_search if you want specifically to filter a ListVIew based on user input dynamically.

@SarcasticNoodle
Copy link

@ArcticZeroo
Copy link
Owner

ArcticZeroo commented Jul 31, 2018

onChange is implemented here - 1f6507f , is this sufficient?

@SarcasticNoodle
Copy link

This works

@jakesq
Copy link

jakesq commented Oct 10, 2018

If you mean that the contents of the page are 'pushed up' when the on screen keyboard is displayed, try setting 'resizeToAvoidBottomPadding' to false in your Scaffold. Hope this helps

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

No branches or pull requests

4 participants