EpubViewer constructor
const
EpubViewer({
- Key? key,
- required EpubController epubController,
- required String epubUrl,
- Map<
String, String> ? headers, - String? initialCfi,
- ValueChanged<
List< ? onChaptersLoaded,EpubChapter> > - VoidCallback? onEpubLoaded,
- ValueChanged<
EpubLocation> ? onRelocated, - ValueChanged<
EpubTextSelection> ? onTextSelected, - EpubDisplaySettings? displaySettings,
- ContextMenu? selectionContextMenu,
Implementation
const EpubViewer({
super.key,
required this.epubController,
required this.epubUrl,
this.headers,
this.initialCfi,
this.onChaptersLoaded,
this.onEpubLoaded,
this.onRelocated,
this.onTextSelected,
this.displaySettings,
this.selectionContextMenu,
});