QpcV4FlowingText constructor
const
QpcV4FlowingText({
- Key? key,
- required int pageIndex,
- required List<
QpcV4WordSegment> segments, - required Color? textColor,
- required bool isDark,
- required Map<
int, List< bookmarks,BookmarkModel> > - required dynamic onAyahLongPress(
- LongPressStartDetails details,
- AyahModel ayah
- required List? bookmarkList,
- required Color? ayahIconColor,
- required bool showAyahBookmarkedIcon,
- required List<
int> bookmarksAyahs, - required Color? bookmarksColor,
- Color? customBookmarksColor()?,
- required Color? ayahSelectedBackgroundColor,
- required bool isFontsLocal,
- required String fontsName,
- required List<
int> ayahBookmarked, - bool isAyahBookmarked(
- AyahModel ayah
- VoidCallback? onPagePress,
Implementation
const QpcV4FlowingText({
super.key,
required this.pageIndex,
required this.segments,
required this.textColor,
required this.isDark,
required this.bookmarks,
required this.onAyahLongPress,
required this.bookmarkList,
required this.ayahIconColor,
required this.showAyahBookmarkedIcon,
required this.bookmarksAyahs,
required this.bookmarksColor,
this.customBookmarksColor,
required this.ayahSelectedBackgroundColor,
required this.isFontsLocal,
required this.fontsName,
required this.ayahBookmarked,
this.isAyahBookmarked,
this.onPagePress,
});