showInfoSettingWidget method

Widget showInfoSettingWidget()

Implementation

Widget showInfoSettingWidget() {
  return MenuItemWidget(
    onPressed: () async {
      await showInfoDialog(
        context,
        theme: theme,
        message: tr('dialog_info_message').capitalize(),
        onRateAppPressed: NavigatorUtils.openPlayStore,
        onShareAppPressed: NavigatorUtils.shareApp,
        onSendFeedbackPressed: NavigatorUtils.sendEmailFeedback,
      );
    },
    theme: theme,
    icon: Icons.share,
    text: tr('share_apps'),
    description: tr('share_apps_description'),
  );
}