SurahDisplayScreen constructor

const SurahDisplayScreen({
  1. Key? key,
  2. required int surahNumber,
  3. PreferredSizeWidget? appBar,
  4. Color? ayahIconColor,
  5. Color? ayahSelectedBackgroundColor,
  6. Color? ayahSelectedFontColor,
  7. BannerStyle? bannerStyle,
  8. BasmalaStyle? basmalaStyle,
  9. Color? backgroundColor,
  10. List bookmarkList = const [],
  11. Color? bookmarksColor,
  12. Widget? circularProgressWidget,
  13. bool isDark = false,
  14. String? languageCode = 'ar',
  15. void onAyahLongPress(
    1. LongPressStartDetails details,
    2. AyahModel ayah
    )?,
  16. dynamic onPageChanged(
    1. int pageNumber
    )?,
  17. VoidCallback? onPagePress,
  18. void onSurahBannerPress(
    1. SurahNamesModel surah
    )?,
  19. bool showAyahBookmarkedIcon = true,
  20. SurahInfoStyle? surahInfoStyle,
  21. SurahNameStyle? surahNameStyle,
  22. Color? textColor,
  23. Widget? topTitleChild,
  24. bool useDefaultAppBar = true,
  25. List<int> ayahBookmarked = const [],
  26. Widget? anotherMenuChild,
  27. void anotherMenuChildOnTap(
    1. AyahModel ayah
    )?,
  28. String? juzName,
  29. String? sajdaName,
})

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

Implementation

const SurahDisplayScreen({
  super.key,
  required this.surahNumber,
  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.languageCode = 'ar',
  this.onAyahLongPress,
  this.onPageChanged,
  this.onPagePress,
  this.onSurahBannerPress,
  this.showAyahBookmarkedIcon = true,
  this.surahInfoStyle,
  this.surahNameStyle,
  this.textColor,
  this.topTitleChild,
  this.useDefaultAppBar = true,
  this.ayahBookmarked = const [],
  this.anotherMenuChild,
  this.anotherMenuChildOnTap,
  this.juzName,
  this.sajdaName,
});