TextScaleRichTextBuild constructor

TextScaleRichTextBuild({
  1. Key? key,
  2. required Color? textColor,
  3. required bool isDark,
  4. required List<AyahModel> ayahs,
  5. required Map<int, List<BookmarkModel>> bookmarks,
  6. required int pageIndex,
  7. required List<int> ayahBookmarked,
  8. required dynamic onAyahLongPress(
    1. LongPressStartDetails details,
    2. AyahModel ayah
    )?,
  9. required List? bookmarkList,
  10. required Color? ayahIconColor,
  11. required bool showAyahBookmarkedIcon,
  12. required List<int> bookmarksAyahs,
  13. required Color? bookmarksColor,
  14. required Color? ayahSelectedBackgroundColor,
  15. required String? languageCode,
  16. bool isAyahBookmarked(
    1. 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,
});