AyahWithTafsirInline constructor

const AyahWithTafsirInline({
  1. Key? key,
  2. required QuranCtrl quranCtrl,
  3. required bool isDark,
  4. required String languageCode,
  5. required dynamic onPageChanged(
    1. int pageNumber
    )?,
  6. required VoidCallback? onPagePress,
  7. required BuildContext parentContext,
  8. AyahTafsirInlineStyle? style,
  9. BannerStyle? bannerStyle,
  10. SurahNameStyle? surahNameStyle,
  11. dynamic onSurahBannerPress(
    1. SurahNamesModel surah
    )?,
  12. BasmalaStyle? basmalaStyle,
  13. AyahAudioStyle? audioStyle,
  14. AyahDownloadManagerStyle? ayahDownloadManagerStyle,
  15. List<int>? ayahBookmarked,
  16. bool isAyahBookmarked(
    1. AyahModel ayah
    )?,
  17. bool showAyahBookmarkedIcon = true,
  18. Color? bookmarksColor,
  19. Color? customBookmarksColor(
    1. AyahModel
    )?,
  20. bool usePageView = true,
  21. bool? withOptionsBar = true,
  22. 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,
});