Closed tomasweigenast closed 2 years ago
You could just use Visibility() to hide the widget until something is searched in the search bar.
Hi @TomasWeg ,
In that case you'd be better off not inserting your PagedListView
in the widget tree until you actually want to show something. An alternative would be @NamanShergill 's suggestion.
Thank you so much for opening the issue! I'm closing it for now, but feel free to continue the discussion.
Add an option, for example, on the
PagedListView
which adds the ability to "wait" until a method is called then the first page is requested.Then, using the PagingController, we can use:
Why is this useful? In search bars for example, we don't want the CircularProgressIndicator to appear unless the user starts writing something in the TextField