AyahWithTafsirInline constructor
const
AyahWithTafsirInline({
- Key? key,
- required QuranCtrl quranCtrl,
- required bool isDark,
- required String languageCode,
- required dynamic onPageChanged(
- int pageNumber
- required VoidCallback? onPagePress,
- required BuildContext parentContext,
- AyahTafsirInlineStyle? style,
- BannerStyle? bannerStyle,
- SurahNameStyle? surahNameStyle,
- dynamic onSurahBannerPress(
- SurahNamesModel surah
- BasmalaStyle? basmalaStyle,
- AyahAudioStyle? audioStyle,
- AyahDownloadManagerStyle? ayahDownloadManagerStyle,
- List<
int> ? ayahBookmarked, - bool isAyahBookmarked(
- AyahModel ayah
- bool showAyahBookmarkedIcon = true,
- Color? bookmarksColor,
- Color? customBookmarksColor()?,
- bool usePageView = true,
- bool? withOptionsBar = true,
- bool? showAyahNumber = false,
Implementation
const AyahWithTafsirInline({
super.key,
required this.quranCtrl,
required this.isDark,
required this.languageCode,
required this.onPageChanged,
required this.onPagePress,
required this.parentContext,
this.style,
this.bannerStyle,
this.surahNameStyle,
this.onSurahBannerPress,
this.basmalaStyle,
this.audioStyle,
this.ayahDownloadManagerStyle,
this.ayahBookmarked,
this.isAyahBookmarked,
this.showAyahBookmarkedIcon = true,
this.bookmarksColor,
this.customBookmarksColor,
this.usePageView = true,
this.withOptionsBar = true,
this.showAyahNumber = false,
});