PageViewBuild constructor

const PageViewBuild({
  1. Key? key,
  2. required Widget? circularProgressWidget,
  3. required String? languageCode,
  4. required List bookmarkList,
  5. required Color? ayahSelectedFontColor,
  6. required Color? textColor,
  7. required Color? ayahIconColor,
  8. required bool showAyahBookmarkedIcon,
  9. required void onAyahLongPress(
    1. LongPressStartDetails details,
    2. AyahModel ayah
    )?,
  10. required Color? bookmarksColor,
  11. required SurahNameStyle? surahNameStyle,
  12. required BannerStyle? bannerStyle,
  13. required BasmalaStyle? basmalaStyle,
  14. required void onSurahBannerPress(
    1. SurahNamesModel surah
    )?,
  15. required int? surahNumber,
  16. required Color? ayahSelectedBackgroundColor,
  17. required VoidCallback? onPagePress,
  18. required bool isDark,
  19. required String? fontsName,
  20. required List<int>? ayahBookmarked,
  21. bool isAyahBookmarked(
    1. AyahModel ayah
    )?,
  22. required BuildContext userContext,
  23. required int pageIndex,
  24. required QuranCtrl quranCtrl,
  25. required bool isFontsLocal,
})

Implementation

const PageViewBuild({
  super.key,
  required this.circularProgressWidget,
  required this.languageCode,
  required this.bookmarkList,
  required this.ayahSelectedFontColor,
  required this.textColor,
  required this.ayahIconColor,
  required this.showAyahBookmarkedIcon,
  required this.onAyahLongPress,
  required this.bookmarksColor,
  required this.surahNameStyle,
  required this.bannerStyle,
  required this.basmalaStyle,
  required this.onSurahBannerPress,
  required this.surahNumber,
  required this.ayahSelectedBackgroundColor,
  required this.onPagePress,
  required this.isDark,
  required this.fontsName,
  required this.ayahBookmarked,
  this.isAyahBookmarked,
  required this.userContext,
  required this.pageIndex,
  required this.quranCtrl,
  required this.isFontsLocal,
});