EpubViewer class

Constructors

EpubViewer()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Properties

locatorStream Stream
Stream to get EpubLocator for android and pageNumber for iOS
no setter

Static Methods

open(String bookPath, {EpubLocator? lastLocation}) → void
bookPath should be a local file. Last location is only available for android.
openAsset(String bookPath, {EpubLocator? lastLocation}) Future
bookPath should be an asset file path. Last location is only available for android.
setChannel() Future
setConfig({Color themeColor = Colors.blue, String identifier = 'book', bool nightMode = false, EpubScrollDirection scrollDirection = EpubScrollDirection.ALLDIRECTIONS, bool allowSharing = false, bool enableTts = false}) → void
Configure Viewer's with available values