EpubViewer constructor

const EpubViewer({
  1. Key? key,
  2. required EpubController epubController,
  3. required EpubSource epubSource,
  4. String? initialCfi,
  5. ValueChanged<List<EpubChapter>>? onChaptersLoaded,
  6. VoidCallback? onEpubLoaded,
  7. ValueChanged<EpubLocation>? onRelocated,
  8. ValueChanged<EpubTextSelection>? onTextSelected,
  9. EpubDisplaySettings? displaySettings,
  10. ContextMenu? selectionContextMenu,
  11. ValueChanged<String>? onAnnotationClicked,
})

Implementation

const EpubViewer({
  super.key,
  required this.epubController,
  required this.epubSource,
  this.initialCfi,
  this.onChaptersLoaded,
  this.onEpubLoaded,
  this.onRelocated,
  this.onTextSelected,
  this.displaySettings,
  this.selectionContextMenu,
  this.onAnnotationClicked,
});