getSurahInfoBottomSheet method

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

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

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

to get the Surah information bottomSheet just call getSurahInfoBottomSheet

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

Implementation

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