ianldgs / material_search

https://pub.dartlang.org/packages/material_search
MIT License
75 stars 39 forks source link

Can't renew results when using MaterialSearchInput #3

Closed ianldgs closed 6 years ago

ianldgs commented 6 years ago

Say that you have an async method, that fetches the results, whilst, you pass the loading option to true. User clicks on the MaterialSearchInput, CircularProgressIndicator is exibited. When the async method finishes loading, calls setState, changing loading to false and the results to the found array. The MaterialSearch is not updated with the new results.