EpubViewer constructor
const
EpubViewer({
- Key? key,
- required EpubController epubController,
- required EpubSource epubSource,
- String? initialCfi,
- ValueChanged<
List< ? onChaptersLoaded,EpubChapter> > - VoidCallback? onEpubLoaded,
- ValueChanged<
EpubLocation> ? onRelocated, - ValueChanged<
EpubTextSelection> ? onTextSelected, - EpubDisplaySettings? displaySettings,
- ContextMenu? selectionContextMenu,
- 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,
});