EpubView constructor
const
EpubView({
- required EpubController controller,
- ExternalLinkPressed? onExternalLinkPressed,
- void onChapterChanged(
- EpubChapterViewValue? value
- void onDocumentLoaded(
- EpubBook document
- void onDocumentError(
- Exception? error
- EpubViewBuilders builders = const EpubViewBuilders<DefaultBuilderOptions>(options: DefaultBuilderOptions()),
- bool shrinkWrap = false,
- 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);