UEpubReader constructor

const UEpubReader({
  1. String? filePath,
  2. Uint8List? bytes,
  3. String? url,
  4. String? asset,
  5. UEpubController? controller,
  6. int initialChapter = 0,
  7. bool showToolbar = true,
  8. void onChapterChanged(
    1. int chapterIndex
    )?,
  9. Key? key,
})

Implementation

const UEpubReader({
  this.filePath,
  this.bytes,
  this.url,
  this.asset,
  this.controller,
  this.initialChapter = 0,
  this.showToolbar = true,
  this.onChapterChanged,
  super.key,
}) : assert(filePath != null || bytes != null || url != null || asset != null || controller != null, "Provide one EPUB source");