SurahDisplayScreen constructor

const SurahDisplayScreen({
  1. Key? key,
  2. required int surahNumber,
  3. required BuildContext parentContext,
  4. PreferredSizeWidget? appBar,
  5. Color? ayahIconColor,
  6. Color? ayahSelectedBackgroundColor,
  7. Color? ayahSelectedFontColor,
  8. BannerStyle? bannerStyle,
  9. BasmalaStyle? basmalaStyle,
  10. Color? backgroundColor,
  11. List bookmarkList = const [],
  12. Color? bookmarksColor,
  13. Widget? circularProgressWidget,
  14. bool isDark = false,
  15. String? appLanguageCode,
  16. void onAyahLongPress(
    1. LongPressStartDetails details,
    2. AyahModel ayah
    )?,
  17. dynamic onPageChanged(
    1. int pageNumber
    )?,
  18. VoidCallback? onPagePress,
  19. void onSurahBannerPress(
    1. SurahNamesModel surah
    )?,
  20. bool showAyahBookmarkedIcon = true,
  21. SurahInfoStyle? surahInfoStyle,
  22. SurahNameStyle? surahNameStyle,
  23. Color? textColor,
  24. bool useDefaultAppBar = true,
  25. List<int> ayahBookmarked = const [],
  26. bool isAyahBookmarked(
    1. AyahModel ayah
    )?,
  27. AyahAudioStyle? ayahStyle,
  28. SurahAudioStyle? surahStyle,
  29. bool? isShowAudioSlider = true,
  30. String? appIconUrlForPlayAudioInBackground,
  31. IndexTabStyle? indexTabStyle,
  32. SearchTabStyle? searchTabStyle,
  33. AyahMenuStyle? ayahLongClickStyle,
  34. TafsirStyle? tafsirStyle,
  35. BookmarksTabStyle? bookmarksTabStyle,
  36. AyahDownloadManagerStyle? ayahDownloadManagerStyle,
  37. TopBottomQuranStyle? topBottomQuranStyle,
  38. SnackBarStyle? snackBarStyle,
  39. AyahMenuStyle? ayahMenuStyle,
  40. QuranTopBarStyle? topBarStyle,
  41. TajweedMenuStyle? tajweedMenuStyle,
  42. DownloadFontsDialogStyle? downloadFontsDialogStyle,
  43. bool? isFontsLocal = false,
  44. bool enableWordSelection = true,
})

إنشاء مثيل جديد من SurahDisplayScreen Creates a new instance of SurahDisplayScreen

Implementation

const SurahDisplayScreen({
  super.key,
  required this.surahNumber,
  required this.parentContext,
  this.appBar,
  this.ayahIconColor,
  this.ayahSelectedBackgroundColor,
  this.ayahSelectedFontColor,
  this.bannerStyle,
  this.basmalaStyle,
  this.backgroundColor,
  this.bookmarkList = const [],
  this.bookmarksColor,
  this.circularProgressWidget,
  this.isDark = false,
  this.appLanguageCode,
  this.onAyahLongPress,
  this.onPageChanged,
  this.onPagePress,
  this.onSurahBannerPress,
  this.showAyahBookmarkedIcon = true,
  this.surahInfoStyle,
  this.surahNameStyle,
  this.textColor,
  this.useDefaultAppBar = true,
  this.ayahBookmarked = const [],
  this.isAyahBookmarked,
  this.ayahStyle,
  this.surahStyle,
  this.isShowAudioSlider = true,
  this.appIconUrlForPlayAudioInBackground,
  this.indexTabStyle,
  this.searchTabStyle,
  this.ayahLongClickStyle,
  this.tafsirStyle,
  this.bookmarksTabStyle,
  this.ayahDownloadManagerStyle,
  this.topBottomQuranStyle,
  this.snackBarStyle,
  this.ayahMenuStyle,
  this.topBarStyle,
  this.tajweedMenuStyle,
  this.downloadFontsDialogStyle,
  this.isFontsLocal = false,
  this.enableWordSelection = true,
});