QuranGetters extension

Extensions on QuranCtrl that provides getters for QuranCtrl's properties.

on

Properties

currentPageAyahs List<AyahModel>

Available on QuranCtrl, provided by the QuranGetters extension

Determines if there is a Sajda (prostration) on the given page of Ayahs.
no setter
isDownloadedFonts → RxBool

Available on QuranCtrl, provided by the QuranGetters extension

-------- Getter ----------
no setter
isDownloadFonts bool

Available on QuranCtrl, provided by the QuranGetters extension

Checks if the fonts are downloaded locally.
no setter
isPreparingDownloadFonts bool

Available on QuranCtrl, provided by the QuranGetters extension

no setter

Methods

getAyahUnqNumberByPageAndIndex(int page, int index) int

Available on QuranCtrl, provided by the QuranGetters extension

Retrieves the unique Ayah number for a specific Ayah on a given page.
getAyahUnqNumberBySurahAndAyahNumber(int surahNumber, int ayahNumber) int

Available on QuranCtrl, provided by the QuranGetters extension

Retrieves the unique Ayah number for a specific Ayah given its Surah and Ayah numbers.
getCurrentJuzNumber(int juzNum) bool

Available on QuranCtrl, provided by the QuranGetters extension

Checks if the current Juz number matches the specified Juz number.
getCurrentPageAyahsSeparatedForBasmalah(int pageIndex) List<List<AyahModel>>

Available on QuranCtrl, provided by the QuranGetters extension

Returns a list of lists of AyahModel, where each sublist contains Ayahs that are separated by a Basmalah, for the given page index.
getCurrentSurahByPageNumber(int pageNumber) SurahModel

Available on QuranCtrl, provided by the QuranGetters extension

Retrieves the current Surah data for a given page number.
getCurrentSurahNumber(int surahNum) bool

Available on QuranCtrl, provided by the QuranGetters extension

Checks if the current Surah number matches the specified Surah number.
getHizbQuarterDisplayByPage(int pageNumber) String

Available on QuranCtrl, provided by the QuranGetters extension

Retrieves the display string for the Hizb quarter of the given page number.
getJuzByPage(int page) AyahModel

Available on QuranCtrl, provided by the QuranGetters extension

Retrieves the Juz data for a given page number.
getPageAyahsByIndex(int pageIndex) List<AyahModel>

Available on QuranCtrl, provided by the QuranGetters extension

Retrieves a list of AyahModel for a specific page index.
getPageNumberByAyahAndSurahNumber(int ayahNumber, int surahNumber) int

Available on QuranCtrl, provided by the QuranGetters extension

getPageNumberByAyahNumber(int ayahNumber) int

Available on QuranCtrl, provided by the QuranGetters extension

get page number by ayah number
getPageNumberByAyahUqNumber(int ayahUnequeNumber) int

Available on QuranCtrl, provided by the QuranGetters extension

get page number by ayah unique number
getSingleAyahByAyahAndSurahNumber(int ayahNumber, int surahNumber) AyahModel

Available on QuranCtrl, provided by the QuranGetters extension

getSurahDataByAyah(AyahModel ayah) SurahModel

Available on QuranCtrl, provided by the QuranGetters extension

Retrieves the Surah data for a given Ayah.
getSurahDataByAyahUQ(int ayah) SurahModel

Available on QuranCtrl, provided by the QuranGetters extension

Retrieves the Surah data for a given unique Ayah number.
getSurahNumberFromPage(int pageNumber) int

Available on QuranCtrl, provided by the QuranGetters extension

will return the surah number of the first ayahs.. even if the page contains another surah.
getSurahsByPageNumber(int pageNumber) List<SurahModel>

Available on QuranCtrl, provided by the QuranGetters extension

Retrieves a list of Surahs present on a specific page.
isThereAnySajdaInPage(int pageIndex) bool

Available on QuranCtrl, provided by the QuranGetters extension

Retrieves the Ayah with a Sajda (prostration) on the given page.
showControlToggle() → void

Available on QuranCtrl, provided by the QuranGetters extension

switchFontType({required int fontIndex}) Future<void>

Available on QuranCtrl, provided by the QuranGetters extension

تبديل نوع الخط وتحميله إذا لم يكن محملاً من قبل