QuranLibraryScreen constructor

const QuranLibraryScreen({
  1. Key? key,
  2. PreferredSizeWidget? appBar,
  3. Color? ayahIconColor,
  4. Color? ayahSelectedBackgroundColor,
  5. BannerStyle? bannerStyle,
  6. BasmalaStyle? basmalaStyle,
  7. Color? backgroundColor,
  8. List bookmarkList = const [],
  9. Color? bookmarksColor,
  10. Widget? circularProgressWidget,
  11. DownloadFontsDialogStyle? downloadFontsDialogStyle,
  12. bool isDark = false,
  13. String? juzName,
  14. String? languageCode = 'ar',
  15. void onDefaultAyahLongPress(
    1. LongPressStartDetails details,
    2. AyahModel ayah
    )?,
  16. void onFontsAyahLongPress(
    1. LongPressStartDetails details,
    2. AyahFontsModel ayah
    )?,
  17. dynamic onPageChanged(
    1. int pageNumber
    )?,
  18. VoidCallback? onPagePress,
  19. void onSurahBannerPress(
    1. SurahNamesModel surah
    )?,
  20. int pageIndex = 0,
  21. String? sajdaName,
  22. bool showAyahBookmarkedIcon = true,
  23. SurahInfoStyle? surahInfoStyle,
  24. SurahNameStyle? surahNameStyle,
  25. int? surahNumber,
  26. Color? textColor,
  27. Widget? topTitleChild,
  28. bool useDefaultAppBar = true,
  29. bool withPageView = true,
  30. bool? isFontsLocal = false,
  31. String? fontsName = 'p',
})

Creates a new instance of QuranLibraryScreen.

This constructor is used to create a new instance of the QuranLibraryScreen widget.

Implementation

const QuranLibraryScreen({
  super.key,
  this.appBar,
  this.ayahIconColor,
  this.ayahSelectedBackgroundColor,
  this.bannerStyle,
  this.basmalaStyle,
  this.backgroundColor,
  this.bookmarkList = const [],
  this.bookmarksColor,
  this.circularProgressWidget,
  this.downloadFontsDialogStyle,
  this.isDark = false,
  this.juzName,
  this.languageCode = 'ar',
  this.onDefaultAyahLongPress,
  this.onFontsAyahLongPress,
  this.onPageChanged,
  this.onPagePress,
  this.onSurahBannerPress,
  this.pageIndex = 0,
  this.sajdaName,
  this.showAyahBookmarkedIcon = true,
  this.surahInfoStyle,
  this.surahNameStyle,
  this.surahNumber,
  this.textColor,
  this.topTitleChild,
  this.useDefaultAppBar = true,
  this.withPageView = true,
  this.isFontsLocal = false,
  this.fontsName = 'p',
});