jumpToAyah method
navigateToAyah
يتيح لك التنقل إلى أي آية.
من الأفضل استدعاء هذه الطريقة أثناء عرض شاشة القرآن،
وإذا تم استدعاؤها ولم تكن شاشة القرآن معروضة،
فسيتم بدء العرض من صفحة هذه الآية عند فتح شاشة القرآن في المرة التالية.
jumpToAyah let's you navigate to any ayah.. It's better to call this method while Quran screen is displayed and if it's called and the Quran screen is not displayed, the next time you open quran screen it will start from this ayah's page
Implementation
void jumpToAyah(int pageNumber, int ayahUQNumber) {
quranCtrl.jumpToPage(pageNumber - 1);
quranCtrl.toggleAyahSelection(ayahUQNumber);
Future.delayed(const Duration(seconds: 3))
.then((_) => quranCtrl.toggleAyahSelection(ayahUQNumber));
}