flutter_searchbox library Null safety


SearchBaseProvider is a provider widget that provides the SearchBase context to all descendants of this Widget.
SearchBox offers a performance focused searchbox UI widget to query and display results from your Elasticsearch cluster.
SearchWidgetConnector<S, ViewModel>
SearchWidgetConnector represents a search widget that can be used to bind to different kinds of search UI widgets.
It allows you to access the current state of your widgets along with the search results. For instance, you can use this component to create results/no results or query/no query pages.


ViewModelBuilder<ViewModel> = Widget Function(BuildContext context, SearchController vm)
Build a Widget using the BuildContext and ViewModel.

Exceptions / Errors

If the SearchBaseProvider.of method fails, this error will be thrown.