ShowEpub constructor

ShowEpub({
  1. Key? key,
  2. required EpubBook epubBook,
  3. required Color accentColor,
  4. int starterChapter = 0,
  5. bool shouldOpenDrawer = false,
  6. required String bookId,
  7. required String chapterListTitle,
  8. dynamic onPageFlip(
    1. int currentPage,
    2. int totalPages
    )?,
  9. dynamic onLastPage(
    1. int lastPageIndex
    )?,
})

Implementation

ShowEpub({
  super.key,
  required this.epubBook,
  required this.accentColor,
  this.starterChapter = 0,
  this.shouldOpenDrawer = false,
  required this.bookId,
  required this.chapterListTitle,
  this.onPageFlip,
  this.onLastPage,
});