showSearchModal static method
- BuildContext context,
- AppWideSearchDelegate delegate
Shows the search delegate as a modal.
This is an alternative to navigating to a full search screen. It shows the search interface as an overlay.
Implementation
static Future<SearchItem?> showSearchModal(
BuildContext context,
AppWideSearchDelegate delegate,
) {
return showSearch<SearchItem?>(context: context, delegate: delegate);
}