showLanguageMenu method

Future<void> showLanguageMenu()

Show the language menu. This should be callable from many parts of the app, so it is appropriately handled by the model.

Implementation

Future<void> showLanguageMenu() async {
  await showDialog(
    barrierDismissible: true,
    context: navigatorKey.currentContext!,
    builder: (context) => LanguageDialogPage(
      isFirstTimeSetup: isFirstTimeSetup,
    ),
  );
}