GetSingleAyah constructor
GetSingleAyah({
- Key? key,
- required int surahNumber,
- required int ayahNumber,
- Color? textColor,
- bool? isDark = false,
- double? fontSize,
- bool? isBold = true,
- AyahModel? ayahs,
- bool? isSingleAyah = true,
- bool? islocalFont = false,
- String? fontsName,
- int? pageIndex,
- dynamic onAyahLongPress(
- LongPressStartDetails details,
- AyahModel ayah
- Color? ayahIconColor,
- bool showAyahBookmarkedIcon = false,
- Color? bookmarksColor,
- Color? customBookmarksColor()?,
- Color? ayahSelectedBackgroundColor,
- TextAlign? textAlign,
- bool? enabledTajweed,
- bool enableWordSelection = false,
- dynamic onWordTap(
- WordRef wordRef
- Color? selectedWordColor,
- WordRef? externalSelectedWordRef,
- ({int fromWord, int toWord})? selectedWordsRange,
- bool? showAyahNumber = true,
- double? textHeight,
Implementation
GetSingleAyah({
super.key,
required this.surahNumber,
required this.ayahNumber,
this.textColor,
this.isDark = false,
this.fontSize,
this.isBold = true,
this.ayahs,
this.isSingleAyah = true,
this.islocalFont = false,
this.fontsName,
this.pageIndex,
this.onAyahLongPress,
this.ayahIconColor,
this.showAyahBookmarkedIcon = false,
this.bookmarksColor,
this.customBookmarksColor,
this.ayahSelectedBackgroundColor,
this.textAlign,
this.enabledTajweed,
this.enableWordSelection = false,
this.onWordTap,
this.selectedWordColor,
this.externalSelectedWordRef,
this.selectedWordsRange,
this.showAyahNumber = true,
this.textHeight,
});