onSearch method
Action to perform upon using the Search context option.
Implementation
void onSearch(String searchTerm, {String? sentence = ''}) async {
await appModel.openRecursiveDictionarySearch(
searchTerm: searchTerm,
killOnPop: false,
);
}