EpubView constructor

const EpubView({
  1. required EpubController controller,
  2. ExternalLinkPressed? onExternalLinkPressed,
  3. void onChapterChanged(
    1. EpubChapterViewValue? value
    )?,
  4. void onDocumentLoaded(
    1. EpubBook document
    )?,
  5. void onDocumentError(
    1. Exception? error
    )?,
  6. EpubViewBuilders builders = const EpubViewBuilders<DefaultBuilderOptions>(options: DefaultBuilderOptions()),
  7. bool shrinkWrap = false,
  8. Key? key,
})

Implementation

const EpubView({
  required this.controller,
  this.onExternalLinkPressed,
  this.onChapterChanged,
  this.onDocumentLoaded,
  this.onDocumentError,
  this.builders = const EpubViewBuilders<DefaultBuilderOptions>(
    options: DefaultBuilderOptions(),
  ),
  this.shrinkWrap = false,
  Key? key,
}) : super(key: key);