getSurahInfoDialog method
void
getSurahInfoDialog({
- required int surahNumber,
- required BuildContext context,
- SurahInfoStyle? surahInfoStyle,
- String? languageCode,
- 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);