buildSettingsButton method
- {required BuildContext context,
- required WidgetRef ref,
- required AppModel appModel}
Open the PlayerSettingsDialogPage.
Implementation
Widget buildSettingsButton(
{required BuildContext context,
required WidgetRef ref,
required AppModel appModel}) {
return FloatingSearchBarAction(
child: JidoujishoIconButton(
size: Theme.of(context).textTheme.titleLarge?.fontSize,
tooltip: t.settings,
icon: Icons.settings,
onTap: () {
showDialog(
context: context,
builder: (context) => const PlayerSettingsDialogPage(),
);
},
),
);
}