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 Widget? anotherMenuChild,
  10. required void anotherMenuChildOnTap(
    1. AyahModel ayah
    )?,
  11. required Widget? secondMenuChild,
  12. required void secondMenuChildOnTap(
    1. AyahModel ayah
    )?,
  13. required List? bookmarkList,
  14. required Color? ayahIconColor,
  15. required bool showAyahBookmarkedIcon,
  16. required List<int> bookmarksAyahs,
  17. required Color? bookmarksColor,
  18. required Color? ayahSelectedBackgroundColor,
  19. required String? languageCode,
})

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.anotherMenuChild,
  required this.anotherMenuChildOnTap,
  required this.secondMenuChild,
  required this.secondMenuChildOnTap,
  required this.bookmarkList,
  required this.ayahIconColor,
  required this.showAyahBookmarkedIcon,
  required this.bookmarksAyahs,
  required this.bookmarksColor,
  required this.ayahSelectedBackgroundColor,
  required this.languageCode,
});