getFontsDownloadDialog method

Widget getFontsDownloadDialog(
  1. DownloadFontsDialogStyle? downloadFontsDialogStyle,
  2. String? languageCode, {
  3. bool isDark = false,
})

للحصول على نافذة حوار خاصة بتحميل الخطوط، قم فقط باستدعاء: getFontsDownloadDialog.

قم بتمرير رمز اللغة ليتم عرض الأرقام على حسب اللغة، رمز اللغة الإفتراضي هو: 'ar' languageCode. كما أن التمرير الاختياري لنمط DownloadFontsDialogStyle ممكن.

to get the fonts download dialog just call getFontsDownloadDialog

and pass the language code to translate the number if you want, the default language code is 'ar' languageCode and style DownloadFontsDialogStyle is optional.

Implementation

Widget getFontsDownloadDialog(
        DownloadFontsDialogStyle? downloadFontsDialogStyle,
        String? languageCode,
        {bool isDark = false}) =>
    FontsDownloadDialog(
      downloadFontsDialogStyle: downloadFontsDialogStyle,
      languageCode: languageCode,
      isDark: isDark,
    );