onItemSelected method
- SearchItem item
Notifies the provider that a search item was selected.
This callback allows tracking user interactions and updating search analytics or recent searches. The default implementation does nothing.
Implementation
Future<void> onItemSelected(SearchItem item) async {}