QuranLine constructor

QuranLine(
  1. Line line,
  2. List<int> bookmarksAyahs,
  3. Map<int, List<BookmarkModel>> bookmarks, {
  4. Key? key,
  5. BoxFit boxFit = BoxFit.fill,
  6. dynamic onDefaultAyahLongPress(
    1. LongPressStartDetails details,
    2. AyahModel ayah
    )?,
  7. Color? bookmarksColor,
  8. Color? textColor,
  9. Color? ayahSelectedBackgroundColor,
  10. List? bookmarkList,
  11. VoidCallback? onPagePress,
  12. required int pageIndex,
})

Implementation

QuranLine(
  this.line,
  this.bookmarksAyahs,
  this.bookmarks, {
  super.key,
  this.boxFit = BoxFit.fill,
  this.onDefaultAyahLongPress,
  this.bookmarksColor,
  this.textColor,
  this.ayahSelectedBackgroundColor,
  this.bookmarkList,
  this.onPagePress,
  required this.pageIndex,
});