RichTextBuild constructor
const
RichTextBuild({
- Key? key,
- required int pageIndex,
- required Color? textColor,
- required bool isDark,
- required Map<
int, List< bookmarks,BookmarkModel> > - required dynamic onAyahLongPress(
- LongPressStartDetails details,
- AyahModel ayah
- required Widget? secondMenuChild,
- required void secondMenuChildOnTap(
- AyahModel ayah
- required List? bookmarkList,
- required Color? ayahIconColor,
- required bool showAyahBookmarkedIcon,
- required List<
int> bookmarksAyahs, - required Color? bookmarksColor,
- required Color? ayahSelectedBackgroundColor,
- required BuildContext context,
- required QuranCtrl quranCtrl,
- required List<
AyahModel> ayahs, - required bool isFontsLocal,
- required String fontsName,
- required List<
int> ayahBookmarked, - required Widget? anotherMenuChild,
- required dynamic anotherMenuChildOnTap(
- AyahModel ayah
Implementation
const RichTextBuild({
super.key,
required this.pageIndex,
required this.textColor,
required this.isDark,
required this.bookmarks,
required this.onAyahLongPress,
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.context,
required this.quranCtrl,
required this.ayahs,
required this.isFontsLocal,
required this.fontsName,
required this.ayahBookmarked,
required this.anotherMenuChild,
required this.anotherMenuChildOnTap,
});