UI libraries
/
Algolia for Flutter
/
Widgets
Nov 14, 2024
Search State
About this widget
The SearchState
class lets you provide raw search parameters to the Algolia API.
For more information about the different parameters you can set, check out the search parameters API reference.
You can’t set the filters
parameter. Instead use Filter State
.
Examples
Copy
1
2
3
4
5
var state = SearchState(
indexName: "YourIndexName",
hitsPerPage: 20,
analytics: true,
);
Did you find this page helpful?