jumpToHizb method

void jumpToHizb(
  1. int hizb
)

jumpToHizb يتيح لك التنقل إلى أي جزء في القرآن باستخدام رقم الجزء. ملاحظة: تستقبل هذه الطريقة رقم الجزء وليس فهرس الجزء.

jumpToHizb let's you navigate to any quran hizb with hizb number Note it receives hizb number not hizb index

Implementation

void jumpToHizb(int hizb) =>
    jumpToPage(hizb == 1 ? 0 : (quranCtrl.quranStops[(hizb - 1) * 4 - 1]));