buildSearchButton method
- {required BuildContext context,
- required WidgetRef ref,
- required AppModel appModel}
Menu bar action.
Implementation
Widget buildSearchButton(
{required BuildContext context,
required WidgetRef ref,
required AppModel appModel}) {
return FloatingSearchBarAction(
child: JidoujishoIconButton(
size: Theme.of(context).textTheme.titleLarge?.fontSize,
tooltip: t.set_media,
enabledColor: isOverride ? Colors.red : null,
icon: Icons.audio_file,
onTap: () {
showSearchDialog(context: context);
},
),
);
}