isAvailableInPortrait property

bool get isAvailableInPortrait

هل يتوفر هذا الوضع في الاتجاه العمودي؟

Implementation

bool get isAvailableInPortrait {
  switch (this) {
    case QuranDisplayMode.defaultMode:
    case QuranDisplayMode.ayahWithTafsirInline:
      return true;
    case QuranDisplayMode.singleScrollable:
    case QuranDisplayMode.dualPage:
    case QuranDisplayMode.quranWithTafsirSide:
      return false;
  }
}