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. VoidCallback? onPagePress,
  13. required int pageIndex,
  14. required List<int> ayahBookmarked,
  15. Color? ayahSelectedFontColor,
  16. Widget? anotherMenuChild,
  17. void anotherMenuChildOnTap(
    1. AyahModel ayah
    )?,
  18. required bool isDark,
  19. Widget? secondMenuChild,
  20. 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,
  this.onPagePress,
  required this.pageIndex,
  required this.ayahBookmarked,
  this.ayahSelectedFontColor,
  this.anotherMenuChild,
  this.anotherMenuChildOnTap,
  required this.isDark,
  this.secondMenuChild,
  this.secondMenuChildOnTap,
});