onItemSelected method

Future<void> onItemSelected(
  1. 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 {}