Parse-SDK-Flutter
Parse-SDK-Flutter copied to clipboard
Search list with ParseLiveListWidget
Hello team,
First of all, great plugin you guys have made. Makes development with ParseServer so much smooth 👍
I would like to know if there is a way we can implement Search using ParseLiveListWidget
I tried dynamically changing QueryBuilder Object with SetState but no luck. If someone can advice us a way, that did be great.
Thank you
Hello, after looking around I found that the only option is to rebuild the widget. You can do this by giving the ParseLiveListWidget a unique key. Initialize the key like so:
Key _refreshKey = UniqueKey();
then adding the key to ParseLiveListWidget like so:
ParseLiveListWidget<ParseObject>(
key: _refreshKey,
lastly, whenever you update the query, add this:
_refreshKey = UniqueKey();
hope it helps :)
Thanks for opening this issue!
- ❌ Please edit your post and use the provided template when creating a new issue. This helps everyone to understand your post better and asks for essential information to quicker review the issue.