feat: How do you actually refresh an InfiniteList
when the previous items are no longer valid?
#85
Labels
documentation
Improvements or additions to documentation
Description
My
InfiniteList
contents are based on search terms.How can I refresh the widget? I tried to empty the items (
_items
member in the example) and then callingsetState()
, but it doesn't work. The InfiniteList does not fetch new items based on the updated search terms.Am I supposed to fiddle with a
FutureBuilder
or maybe aGlobalKey
?Requirements
Additional Context
No response
The text was updated successfully, but these errors were encountered: