TextScaleRichTextBuild constructor
TextScaleRichTextBuild({
- Key? key,
- required Color? textColor,
- required bool isDark,
- required List<
AyahModel> ayahs, - required Map<
int, List< bookmarks,BookmarkModel> > - required int pageIndex,
- required List<
int> ayahBookmarked, - required dynamic onAyahLongPress(
- LongPressStartDetails details,
- AyahModel ayah
- required List? bookmarkList,
- required Color? ayahIconColor,
- required bool showAyahBookmarkedIcon,
- required List<
int> bookmarksAyahs, - required Color? bookmarksColor,
- required Color? ayahSelectedBackgroundColor,
- required String? languageCode,
- bool isAyahBookmarked(
- AyahModel ayah
Implementation
TextScaleRichTextBuild({
super.key,
required this.textColor,
required this.isDark,
required this.ayahs,
required this.bookmarks,
required this.pageIndex,
required this.ayahBookmarked,
required this.onAyahLongPress,
required this.bookmarkList,
required this.ayahIconColor,
required this.showAyahBookmarkedIcon,
required this.bookmarksAyahs,
required this.bookmarksColor,
required this.ayahSelectedBackgroundColor,
required this.languageCode,
this.isAyahBookmarked,
});