DefaultFontsBuild constructor

DefaultFontsBuild(
  1. BuildContext context,
  2. LineModel line,
  3. List<int> bookmarksAyahs,
  4. Map<int, List<BookmarkModel>> bookmarks, {
  5. Key? key,
  6. BoxFit boxFit = BoxFit.fill,
  7. dynamic onDefaultAyahLongPress(
    1. LongPressStartDetails details,
    2. AyahModel ayah
    )?,
  8. Color? bookmarksColor,
  9. Color? textColor,
  10. Color? ayahSelectedBackgroundColor,
  11. List? bookmarkList,
  12. required int pageIndex,
  13. required List<int> ayahBookmarked,
  14. Color? ayahSelectedFontColor,
  15. Widget? anotherMenuChild,
  16. void anotherMenuChildOnTap(
    1. AyahModel ayah
    )?,
  17. required bool isDark,
  18. Widget? secondMenuChild,
  19. void secondMenuChildOnTap(
    1. AyahModel ayah
    )?,
})

Implementation

DefaultFontsBuild(
  this.context,
  this.line,
  this.bookmarksAyahs,
  this.bookmarks, {
  super.key,
  this.boxFit = BoxFit.fill,
  this.onDefaultAyahLongPress,
  this.bookmarksColor,
  this.textColor,
  this.ayahSelectedBackgroundColor,
  this.bookmarkList,
  required this.pageIndex,
  required this.ayahBookmarked,
  this.ayahSelectedFontColor,
  this.anotherMenuChild,
  this.anotherMenuChildOnTap,
  required this.isDark,
  this.secondMenuChild,
  this.secondMenuChildOnTap,
});