SurahPageViewBuild constructor
const
SurahPageViewBuild({
- Key? key,
- required BuildContext userContext,
- required QuranPageModel surahPage,
- required int surahPageIndex,
- required int globalPageIndex,
- required int surahNumber,
- required bool isDark,
- required String? languageCode,
- Widget? circularProgressWidget,
- List? bookmarkList,
- Color? bookmarksColor,
- Color? customBookmarksColor()?,
- Color? textColor,
- Color? ayahSelectedFontColor,
- Color? ayahSelectedBackgroundColor,
- Color? ayahIconColor,
- bool showAyahBookmarkedIcon = true,
- List<
int> ayahBookmarked = const [], - bool isAyahBookmarked(
- AyahModel ayah
- void onAyahLongPress(
- LongPressStartDetails details,
- AyahModel ayah
- void onSurahBannerPress(
- SurahNamesModel surah
- BannerStyle? bannerStyle,
- SurahNameStyle? surahNameStyle,
- BasmalaStyle? basmalaStyle,
Implementation
const SurahPageViewBuild({
super.key,
required this.userContext,
required this.surahPage,
required this.surahPageIndex,
required this.globalPageIndex,
required this.surahNumber,
required this.isDark,
required this.languageCode,
this.circularProgressWidget,
this.bookmarkList,
this.bookmarksColor,
this.customBookmarksColor,
this.textColor,
this.ayahSelectedFontColor,
this.ayahSelectedBackgroundColor,
this.ayahIconColor,
this.showAyahBookmarkedIcon = true,
this.ayahBookmarked = const [],
this.isAyahBookmarked,
this.onAyahLongPress,
this.onSurahBannerPress,
this.bannerStyle,
this.surahNameStyle,
this.basmalaStyle,
});