showSearchModal static method

Future<SearchItem?> showSearchModal(
  1. BuildContext context,
  2. 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);
}