getSurahInfoDialog method

void getSurahInfoDialog({
  1. required int surahNumber,
  2. required BuildContext context,
  3. SurahInfoStyle? surahInfoStyle,
  4. String? languageCode,
  5. bool isDark = false,
})

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

مطلوب تمرير رقم السورة surahNumber. كما أن التمرير الاختياري لنمط SurahInfoStyle ممكن.

to get the Surah information dialog just call getSurahInfoDialog

and required to pass the Surah number surahNumber and style SurahInfoStyle is optional.

Implementation

void getSurahInfoDialog(
        {required int surahNumber,
        required BuildContext context,
        SurahInfoStyle? surahInfoStyle,
        String? languageCode,
        bool isDark = false}) =>
    surahInfoDialogWidget(context, surahNumber - 1,
        surahStyle: surahInfoStyle,
        languageCode: languageCode,
        isDark: isDark);