changeTafsirSwitch method

void changeTafsirSwitch(
  1. int index, {
  2. int? pageNumber,
})

تغيير التفسير المختار عند الضغط على زر التبديل. Change the selected tafsir when the switch button is pressed.

Implementation

void changeTafsirSwitch(int index, {int? pageNumber}) => TafsirCtrl.instance
    .handleRadioValueChanged(index, pageNumber: pageNumber);