onSearchBarTap method

  1. @override
Future<void> onSearchBarTap(
  1. {required BuildContext context,
  2. required WidgetRef ref,
  3. required AppModel appModel}
)
override

If this is not null, this action is executed when the user taps on the search bar. Sources that do not have a search action should have this defined.

Implementation

@override
Future<void> onSearchBarTap({
  required BuildContext context,
  required WidgetRef ref,
  required AppModel appModel,
}) async {
  showDialog(
    context: context,
    builder: (context) => const MokuroCatalogDialogPage(),
  );
}