buildCatalogButton method
- {required BuildContext context,
- required WidgetRef ref,
- required AppModel appModel}
Menu bar action.
Implementation
Widget buildCatalogButton(
{required BuildContext context,
required WidgetRef ref,
required AppModel appModel}) {
return FloatingSearchBarAction(
child: JidoujishoIconButton(
size: Theme.of(context).textTheme.titleLarge?.fontSize,
tooltip: t.catalogs,
icon: Icons.collections_bookmark,
onTap: () async {
showDialog(
context: context,
builder: (context) => const MokuroCatalogDialogPage(),
);
},
),
);
}